summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-06-19 16:18:43 +0000
committerrrs <rrs@FreeBSD.org>2007-06-19 16:18:43 +0000
commit111a3746d58e45bbba302d5206c55bb96b8ff628 (patch)
treec208392c7c2bf27fe5a7d2aa5d7f8b347afd4379 /lib
parenta8a38562afef0b2a05d5482e104675b815b13aae (diff)
downloadFreeBSD-src-111a3746d58e45bbba302d5206c55bb96b8ff628.zip
FreeBSD-src-111a3746d58e45bbba302d5206c55bb96b8ff628.tar.gz
- Fix the signature of sctp_connectx to match the function and adds some
text about the last argument. Approved by: re (bmah@freebsd.org)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/sctp_connectx.38
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/net/sctp_connectx.3 b/lib/libc/net/sctp_connectx.3
index c0bbc90..21fb574 100644
--- a/lib/libc/net/sctp_connectx.3
+++ b/lib/libc/net/sctp_connectx.3
@@ -44,7 +44,7 @@
.In sys/socket.h
.In netinet/sctp.h
.Ft int
-.Fn sctp_connectx "int s" "struct sockaddr *" "int addrcnt"
+.Fn sctp_connectx "int s" "struct sockaddr *" "int addrcnt" "sctp_assoc_t *"
.Sh DESCRIPTION
The
.Fn sctp_connectx
@@ -72,7 +72,11 @@ If the peer SCTP stack does not list one or more of
the provided addresses in its response message then
the extra addresses sent in the
.Fn sctp_connectx
-call will be silently discarded from the association.
+call will be silently discarded from the association. On
+successful completion the provided sctp_assoc_t * will be
+filled in with the association identification of the newly
+forming association.
+
.Sh RETURN VALUES
The call returns 0 on success and -1 upon failure.
.Sh ERRORS
OpenPOWER on IntegriCloud