summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/bindresvport.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/bindresvport.3')
-rw-r--r--lib/libc/rpc/bindresvport.36
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/rpc/bindresvport.3 b/lib/libc/rpc/bindresvport.3
index 740dd15..28e86e5 100644
--- a/lib/libc/rpc/bindresvport.3
+++ b/lib/libc/rpc/bindresvport.3
@@ -19,9 +19,11 @@
.Ft int
.Fn bindresvport_sa "int sd" "struct sockaddr *sa"
.Sh DESCRIPTION
+The
.Fn bindresvport
and
.Fn bindresvport_sa
+functions
are used to bind a socket descriptor to a privileged
.Tn IP
port, that is, a
@@ -65,7 +67,9 @@ Function prototype of
is biased to
.Dv AF_INET
socket.
+The
.Fn bindresvport_sa
+function
acts exactly the same, with more neutral function prototype.
Note that both functions behave exactly the same, and
both support
@@ -82,7 +86,9 @@ If second argument was supplied,
and address family did not match between arguments.
.El
.Pp
+The
.Fn bindresvport
+function
may also fail and set
.Va errno
for any of the errors specified for the calls
OpenPOWER on IntegriCloud