aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorRebecca Cran <brucec@FreeBSD.org>2010-01-31 21:45:14 +0000
committerRebecca Cran <brucec@FreeBSD.org>2010-01-31 21:45:14 +0000
commit0add3200d178976b95848eff050d419cf4062520 (patch)
tree6d4504ececfea46fe3e174ec7de0294cca857c41 /lib/libc/net
parent6eba1d692a5fb27be311951cd74d0705e6436d5d (diff)
downloadsrc-0add3200d178976b95848eff050d419cf4062520.tar.gz
src-0add3200d178976b95848eff050d419cf4062520.zip
Fix typo of ENOTCONN.
Add missing RETURN VALUES section in sctp_opt_info(3). Approved by: rrs (mentor)
Notes
Notes: svn path=/head/; revision=203322
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/sctp_opt_info.32
-rw-r--r--lib/libc/net/sctp_recvmsg.32
-rw-r--r--lib/libc/net/sctp_send.32
-rw-r--r--lib/libc/net/sctp_sendmsg.32
4 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/net/sctp_opt_info.3 b/lib/libc/net/sctp_opt_info.3
index 581a220fd621..f01061336779 100644
--- a/lib/libc/net/sctp_opt_info.3
+++ b/lib/libc/net/sctp_opt_info.3
@@ -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
diff --git a/lib/libc/net/sctp_recvmsg.3 b/lib/libc/net/sctp_recvmsg.3
index f874880f6c8d..a5926bfe09a6 100644
--- a/lib/libc/net/sctp_recvmsg.3
+++ b/lib/libc/net/sctp_recvmsg.3
@@ -269,7 +269,7 @@ This generally indicates that the interface has stopped sending,
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
diff --git a/lib/libc/net/sctp_send.3 b/lib/libc/net/sctp_send.3
index dd96bcfe6455..8a4142cc7c2b 100644
--- a/lib/libc/net/sctp_send.3
+++ b/lib/libc/net/sctp_send.3
@@ -319,7 +319,7 @@ This generally indicates that the interface has stopped sending,
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
diff --git a/lib/libc/net/sctp_sendmsg.3 b/lib/libc/net/sctp_sendmsg.3
index 525a87c60bfe..c54aaefee623 100644
--- a/lib/libc/net/sctp_sendmsg.3
+++ b/lib/libc/net/sctp_sendmsg.3
@@ -296,7 +296,7 @@ This generally indicates that the interface has stopped sending,
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