Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2010 22:02:25 +0000 (UTC)
From:      Bruce Cran <brucec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r204291 - stable/7/lib/libc/net
Message-ID:  <201002242202.o1OM2PO5017456@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brucec
Date: Wed Feb 24 22:02:25 2010
New Revision: 204291
URL: http://svn.freebsd.org/changeset/base/204291

Log:
  MFC r203322:
  
  Fix typo of ENOTCONN.
  Add missing RETURN VALUES section in sctp_opt_info(3).
  
  Approved by:	rrs (mentor)

Modified:
  stable/7/lib/libc/net/sctp_opt_info.3
  stable/7/lib/libc/net/sctp_recvmsg.3
  stable/7/lib/libc/net/sctp_send.3
  stable/7/lib/libc/net/sctp_sendmsg.3
Directory Properties:
  stable/7/lib/libc/   (props changed)
  stable/7/lib/libc/stdtime/   (props changed)

Modified: stable/7/lib/libc/net/sctp_opt_info.3
==============================================================================
--- stable/7/lib/libc/net/sctp_opt_info.3	Wed Feb 24 22:00:00 2010	(r204290)
+++ stable/7/lib/libc/net/sctp_opt_info.3	Wed Feb 24 22:02:25 2010	(r204291)
@@ -87,6 +87,8 @@ socket options.
 .Dv SCTP_PEER_AUTH_CHUNKS
 .Pp
 .Dv SCTP_LOCAL_AUTH_CHUNKS
+.Sh RETURN VALUES
+The call returns 0 on success and -1 upon error.
 .Sh ERRORS
 The
 .Fn sctp_opt_info

Modified: stable/7/lib/libc/net/sctp_recvmsg.3
==============================================================================
--- stable/7/lib/libc/net/sctp_recvmsg.3	Wed Feb 24 22:00:00 2010	(r204290)
+++ stable/7/lib/libc/net/sctp_recvmsg.3	Wed Feb 24 22:02:25 2010	(r204291)
@@ -269,7 +269,7 @@ This generally indicates that the interf
 but may be caused by transient congestion.
 .It Bq Er EHOSTUNREACH
 The remote host was unreachable.
-.It Bq Er ENOTCON
+.It Bq Er ENOTCONN
 On a one-to-one style socket no association exists.
 .It Bq Er ECONNRESET
 An abort was received by the stack while the user was

Modified: stable/7/lib/libc/net/sctp_send.3
==============================================================================
--- stable/7/lib/libc/net/sctp_send.3	Wed Feb 24 22:00:00 2010	(r204290)
+++ stable/7/lib/libc/net/sctp_send.3	Wed Feb 24 22:02:25 2010	(r204291)
@@ -319,7 +319,7 @@ This generally indicates that the interf
 but may be caused by transient congestion.
 .It Bq Er EHOSTUNREACH
 The remote host was unreachable.
-.It Bq Er ENOTCON
+.It Bq Er ENOTCONN
 On a one-to-one style socket no association exists.
 .It Bq Er ECONNRESET
 An abort was received by the stack while the user was

Modified: stable/7/lib/libc/net/sctp_sendmsg.3
==============================================================================
--- stable/7/lib/libc/net/sctp_sendmsg.3	Wed Feb 24 22:00:00 2010	(r204290)
+++ stable/7/lib/libc/net/sctp_sendmsg.3	Wed Feb 24 22:02:25 2010	(r204291)
@@ -296,7 +296,7 @@ This generally indicates that the interf
 but may be caused by transient congestion.
 .It Bq Er EHOSTUNREACH
 The remote host was unreachable.
-.It Bq Er ENOTCON
+.It Bq Er ENOTCONN
 On a one-to-one style socket no association exists.
 .It Bq Er ECONNRESET
 An abort was received by the stack while the user was



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002242202.o1OM2PO5017456>