summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-12-30 14:30:27 +0000
committerpeter <peter@FreeBSD.org>1996-12-30 14:30:27 +0000
commit3b4f3b75e50817fc374a25a784a50786f24799ca (patch)
tree075ecea3dbd9a9c6005e36afddb020b394adc7a2 /lib/libc
parent50fab253d20bda729978ec93c80e808356defc3f (diff)
downloadFreeBSD-src-3b4f3b75e50817fc374a25a784a50786f24799ca.zip
FreeBSD-src-3b4f3b75e50817fc374a25a784a50786f24799ca.tar.gz
- update return type of an "internal but documented" function
- warn about FD_SETSIZE in certain internal functions Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/rpc.312
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/rpc/rpc.3 b/lib/libc/rpc/rpc.3
index 3d9d6b2..dd55c22 100644
--- a/lib/libc/rpc/rpc.3
+++ b/lib/libc/rpc/rpc.3
@@ -735,7 +735,7 @@ messages.
.ft B
.nf
.sp .5
-void
+int
get_myaddress(addr)
struct sockaddr_in *addr;
.fi
@@ -749,6 +749,7 @@ without consulting the library routines that deal with
.BR /etc/hosts .
The port number is always set to
.BR htons(\s-1PMAPPORT\s0) .
+Returns zero on success, non-zero on failure.
.br
.if t .ne 10
.LP
@@ -997,7 +998,7 @@ fd_set svc_fdset;
A global variable reflecting the
.SM RPC
service side's
-read file descriptor bit mask; it is suitable as a parameter
+read file descriptor bit mask; it is suitable as a template parameter
to the
.B select
system call. This is only of interest
@@ -1010,6 +1011,13 @@ yet it may change after calls to
.B svc_getreqset(\|)
or any creation routines.
.br
+As well, note that if the process has descriptor limits
+which are extended beyond
+.BR FD_SETSIZE ,
+this variable will only be usable for the first
+.BR FD_SETSIZE
+descriptors.
+.br
.if t .ne 6
.LP
.ft B
OpenPOWER on IntegriCloud