svn commit: r204291 - stable/7/lib/libc/net

Bruce Cran brucec at FreeBSD.org
Wed Feb 24 22:02:27 UTC 2010


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


More information about the svn-src-all mailing list