Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2010 10:51:31 +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-8@freebsd.org
Subject:   svn commit: r204035 - stable/8/lib/libc/net
Message-ID:  <201002181051.o1IApVih041856@svn.freebsd.org>

index | next in thread | raw e-mail

Author: brucec
Date: Thu Feb 18 10:51:31 2010
New Revision: 204035
URL: http://svn.freebsd.org/changeset/base/204035

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

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

Modified: stable/8/lib/libc/net/sctp_opt_info.3
==============================================================================
--- stable/8/lib/libc/net/sctp_opt_info.3	Thu Feb 18 10:48:37 2010	(r204034)
+++ stable/8/lib/libc/net/sctp_opt_info.3	Thu Feb 18 10:51:31 2010	(r204035)
@@ -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/8/lib/libc/net/sctp_recvmsg.3
==============================================================================
--- stable/8/lib/libc/net/sctp_recvmsg.3	Thu Feb 18 10:48:37 2010	(r204034)
+++ stable/8/lib/libc/net/sctp_recvmsg.3	Thu Feb 18 10:51:31 2010	(r204035)
@@ -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/8/lib/libc/net/sctp_send.3
==============================================================================
--- stable/8/lib/libc/net/sctp_send.3	Thu Feb 18 10:48:37 2010	(r204034)
+++ stable/8/lib/libc/net/sctp_send.3	Thu Feb 18 10:51:31 2010	(r204035)
@@ -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/8/lib/libc/net/sctp_sendmsg.3
==============================================================================
--- stable/8/lib/libc/net/sctp_sendmsg.3	Thu Feb 18 10:48:37 2010	(r204034)
+++ stable/8/lib/libc/net/sctp_sendmsg.3	Thu Feb 18 10:51:31 2010	(r204035)
@@ -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


help

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