diff options
author | brucec <brucec@FreeBSD.org> | 2010-01-31 21:45:14 +0000 |
---|---|---|
committer | brucec <brucec@FreeBSD.org> | 2010-01-31 21:45:14 +0000 |
commit | b51b4f4d2bd4524c3a6383abffcde25ab26f3059 (patch) | |
tree | 6d4504ececfea46fe3e174ec7de0294cca857c41 /lib | |
parent | d37107dd00dbdaf94a4b71028d06b712a6f718c0 (diff) | |
download | FreeBSD-src-b51b4f4d2bd4524c3a6383abffcde25ab26f3059.zip FreeBSD-src-b51b4f4d2bd4524c3a6383abffcde25ab26f3059.tar.gz |
Fix typo of ENOTCONN.
Add missing RETURN VALUES section in sctp_opt_info(3).
Approved by: rrs (mentor)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/sctp_opt_info.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/sctp_recvmsg.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/sctp_send.3 | 2 | ||||
-rw-r--r-- | lib/libc/net/sctp_sendmsg.3 | 2 |
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 581a220..f010613 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 f874880..a5926bf 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 dd96bcf..8a4142c 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 525a87c..c54aaef 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 |