summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/sctp_connectx.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/sctp_connectx.3')
-rw-r--r--lib/libc/net/sctp_connectx.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/sctp_connectx.3 b/lib/libc/net/sctp_connectx.3
index 7b75f4a..d454bb9 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" "sctp_assoc_t *"
+.Fn sctp_connectx "int sd" "struct sockaddr *addrs" "int addrcnt" "sctp_assoc_t *id"
.Sh DESCRIPTION
The
.Fn sctp_connectx
@@ -75,7 +75,7 @@ the extra addresses sent in the
call will be silently discarded from the association.
On
successful completion the provided
-.Fa "sctp_assoc_t *"
+.Fa id
will be
filled in with the association identification of the newly
forming association.
@@ -84,7 +84,7 @@ The call returns 0 on success and -1 upon failure.
.Sh ERRORS
The
.Fn sctp_connectx
-can return the following errors.
+function can return the following errors:
.Bl -tag -width Er
.It Bq Er EINVAL
An address listed has an invalid family or no
OpenPOWER on IntegriCloud