svn commit: r203322 - head/lib/libc/net

Bruce Cran brucec at FreeBSD.org
Sun Jan 31 21:45:14 UTC 2010


Author: brucec
Date: Sun Jan 31 21:45:14 2010
New Revision: 203322
URL: http://svn.freebsd.org/changeset/base/203322

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

Modified:
  head/lib/libc/net/sctp_opt_info.3
  head/lib/libc/net/sctp_recvmsg.3
  head/lib/libc/net/sctp_send.3
  head/lib/libc/net/sctp_sendmsg.3

Modified: head/lib/libc/net/sctp_opt_info.3
==============================================================================
--- head/lib/libc/net/sctp_opt_info.3	Sun Jan 31 21:39:25 2010	(r203321)
+++ head/lib/libc/net/sctp_opt_info.3	Sun Jan 31 21:45:14 2010	(r203322)
@@ -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: head/lib/libc/net/sctp_recvmsg.3
==============================================================================
--- head/lib/libc/net/sctp_recvmsg.3	Sun Jan 31 21:39:25 2010	(r203321)
+++ head/lib/libc/net/sctp_recvmsg.3	Sun Jan 31 21:45:14 2010	(r203322)
@@ -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: head/lib/libc/net/sctp_send.3
==============================================================================
--- head/lib/libc/net/sctp_send.3	Sun Jan 31 21:39:25 2010	(r203321)
+++ head/lib/libc/net/sctp_send.3	Sun Jan 31 21:45:14 2010	(r203322)
@@ -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: head/lib/libc/net/sctp_sendmsg.3
==============================================================================
--- head/lib/libc/net/sctp_sendmsg.3	Sun Jan 31 21:39:25 2010	(r203321)
+++ head/lib/libc/net/sctp_sendmsg.3	Sun Jan 31 21:45:14 2010	(r203322)
@@ -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-head mailing list