- Fix the signature of sctp_connectx to match the function and adds some

text about the last argument.
Approved by:	re (bmah@freebsd.org)
This commit is contained in:
Randall Stewart 2007-06-19 16:18:43 +00:00
parent a9c2c4f325
commit 7e94ae79f3

View file

@ -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