From 111a3746d58e45bbba302d5206c55bb96b8ff628 Mon Sep 17 00:00:00 2001 From: rrs Date: Tue, 19 Jun 2007 16:18:43 +0000 Subject: - Fix the signature of sctp_connectx to match the function and adds some text about the last argument. Approved by: re (bmah@freebsd.org) --- lib/libc/net/sctp_connectx.3 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.1