TO_REMOVE+=/usr/share/man/man4/i386/cx.4.gz
TO_REMOVE+=/usr/share/man/cat4/i386/cx.4.gz
TO_REMOVE+=/usr/share/zoneinfo/Asia/Katmandu
+TO_REMOVE+=/usr/share/man/man3/__svc_getcallercreds.3.gz
+TO_REMOVE+=/usr/share/man/cat3/__svc_getcallercreds.3.gz
rpc_soc.3 svcunixfd_create.3 \
rpc_soc.3 xdr_pmap.3 \
rpc_soc.3 xdr_pmaplist.3 \
- rpc_svc_calls.3 __svc_getcallercreds.3 \
rpc_svc_calls.3 svc_dg_enablecache.3 \
rpc_svc_calls.3 svc_exit.3 \
rpc_svc_calls.3 svc_freeargs.3 \
.\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
.\" $NetBSD: rpc_svc_calls.3,v 1.1 2000/06/02 23:11:13 fvdl Exp $
.\" $FreeBSD: src/lib/libc/rpc/rpc_svc_calls.3,v 1.10 2005/11/23 16:44:23 ru Exp $
-.\" $DragonFly$
-.Dd May 3, 1993
+.Dd January 31, 2009
.Dt RPC_SVC_CALLS 3
.Os
.Sh NAME
.Fn svc_getreqset "fd_set * rdfds"
.Ft "struct netbuf *"
.Fn svc_getrpccaller "const SVCXPRT *xprt"
-.Ft "struct cmsgcred *"
-.Fn __svc_getcallercreds "const SVCXPRT *xprt"
.Vt struct pollfd svc_pollset[FD_SETSIZE];
.Ft void
.Fn svc_run "void"
for the definition of the
.Vt SVCXPRT
data structure.
-.Bl -tag -width __svc_getcallercreds()
+.Bl -tag -width ".Fn svc_dg_enablecache"
.It Fn svc_dg_enablecache
This function allocates a duplicate request cache for the
service endpoint
of a procedure associated with the
RPC service transport handle
.Fa xprt .
-.It Fn __svc_getcallercreds
-.Em Warning :
-this macro is specific to
-.Fx
-and thus not portable.
-This macro returns a pointer to a
-.Vt cmsgcred
-structure, defined in
-.In sys/socket.h ,
-identifying the calling client.
-This only works if the client is
-calling the server over an
-.Dv AF_LOCAL
-socket.
.It Xo
.Vt struct pollfd Va svc_pollset[FD_SETSIZE] ;
.Xc