Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2010 21:45:14 +0000 (UTC)
From:      Bruce Cran <brucec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203322 - head/lib/libc/net
Message-ID:  <201001312145.o0VLjEeA047841@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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