.Nm bindresvport ,
.Nm bindresvport_sa
.Nd bind a socket to a privileged IP port
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In sys/types.h
.In rpc/rpc.h
.Xr getsockopt 2 ,
or
.Xr setsockopt 2 .
+.Sh AVAILABILITY
+The
+.Fn bindresvport
+function is part of libtirpc.
.Sh SEE ALSO
.Xr bind 2 ,
.Xr getsockopt 2 ,
-.Xr setsockopt 2 ,
-.Xr ip 4
+.Xr setsockopt 2
.Sh NAME
.Nm des_crypt , ecb_crypt , cbc_crypt , des_setparity
.Nd "fast DES encryption"
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/des_crypt.h
.Ft int
the macro
.Fn DES_FAILED stat
is false only for the first two statuses.
+.Sh AVAILABILITY
+The
+.Fn ecb_crypt ,
+.Fn cbc_crypt ,
+and
+.Fn des_setparity
+functions are part of libtirpc.
.Sh SEE ALSO
.\" .Xr des 1 ,
.Xr crypt 3
.Nm nc_perror ,
.Nm nc_sperror
.Nd get network configuration database entry
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In netconfig.h
.Ft "struct netconfig *"
.Bl -tag -width /etc/netconfig -compact
.It Pa /etc/netconfig
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr getnetpath 3 ,
.Xr netconfig 5
entry corresponding to
.Ev NETPATH
component
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In netconfig.h
.Ft "struct netconfig *"
.Fn getnetpath
returns
.Dv NULL .
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr getnetconfig 3 ,
.Xr netconfig 5 ,
.Nm endrpcent ,
.Nm setrpcent
.Nd get RPC entry
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft struct rpcent *
.Bl -tag -width /etc/rpc -compact
.It Pa /etc/rpc
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr rpc 5 ,
-.Xr rpcinfo 8 ,
-.Xr ypserv 8
+.Xr rpcinfo 8
.Sh DIAGNOSTICS
A
.Dv NULL
.Sh NAME
.Nm getrpcport
.Nd get RPC port number
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.Ft int
.Fn getrpcport "char *host" "int prognum" "int versnum" "int proto"
it will still return a port number (for some version of the program)
indicating that the program is indeed registered.
The version mismatch will be detected upon the first call to the service.
+.Sh AVAILABILITY
+The
+.Fn getrpcport
+function is part of libtirpc.
.Sh NAME
.Nm rpc
.Nd library routines for remote procedure calls
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.In netconfig.h
.Bl -tag -width /etc/netconfig
.It Pa /etc/netconfig
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr getnetconfig 3 ,
.Xr getnetpath 3 ,
.Nm authsys_create ,
.Nm authsys_create_default
.Nd library routines for client side remote procedure call authentication
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft "void"
.Fn authsys_create
with the appropriate arguments.
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr rpc 3 ,
.Xr rpc_clnt_calls 3 ,
.Nm rpc_broadcast_exp ,
.Nm rpc_call
.Nd library routines for client side calls
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft "enum clnt_stat"
You do not have control of timeouts or authentication
using this routine.
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr printf 3 ,
.Xr rpc 3 ,
.Nd "library routines for dealing with creation and manipulation of"
.Vt CLIENT
handles
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft bool_t
.Fn clnt_pcreateerror
to print the reason for the failure.
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr rpc 3 ,
.Xr rpc_clnt_auth 3 ,
if it fails.
Inverse of
.Fn netname2user .
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr rpc 3 ,
-.Xr xdr 3 ,
-.Xr keyserv 8
+.Xr xdr 3
.Pp
The following manuals:
.Rs
.Nm xprt_register ,
.Nm xprt_unregister
.Nd "library routines for remote procedure calls"
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Pp
.Va svc_fds .
Service implementors usually do not need this routine.
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr rpc_secure 3 ,
.Xr xdr 3
.Nm svc_run ,
.Nm svc_sendreply
.Nd library routines for RPC servers
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft int
.Dv FALSE
otherwise.
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr poll 2 ,
.Xr select 2 ,
.Nm svc_tp_create ,
.Nm svc_vc_create
.Nd library routines for the creation of server handles
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft bool_t
.Xr rpcbind 8
service.
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr rpc 3 ,
.Xr rpc_svc_calls 3 ,
.Nm svcerr_systemerr ,
.Nm svcerr_weakauth
.Nd library routines for server side remote procedure call errors
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft void
The routine calls
.Fn svcerr_auth "xprt" "AUTH_TOOWEAK" .
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr rpc 3 ,
.Xr rpc_svc_calls 3 ,
.Nm xprt_register ,
.Nm xprt_unregister
.Nd library routines for registering servers
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft int
.Xr rpc_svc_calls 3 ) .
Service implementors usually do not need this routine.
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr select 2 ,
.Xr rpc 3 ,
.Nm xdr_rejected_reply ,
.Nm xdr_replymsg
.Nd XDR library routines for remote procedure calls
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft bool_t
rejection or
.Dv NULL .
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr rpc 3 ,
.Xr xdr 3
.Nm rpcb_set ,
.Nm rpcb_unset
.Nd library routines for RPC bind service
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In rpc/rpc.h
.Ft "rpcblist *"
in
.Xr rpc_svc_calls 3 . )
.El
+.Sh AVAILABILITY
+These functions are part of libtirpc.
.Sh SEE ALSO
.Xr rpc_clnt_calls 3 ,
.Xr rpc_svc_calls 3 ,
.Sh NAME
.Nm rtime
.Nd "get remote time"
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In sys/types.h
.In sys/time.h
and block until a reply is received from the time server.
.Sh RETURN VALUES
.Rv -std rtime
-.Sh SEE ALSO
-.Xr timed 8
+.Sh AVAILABILITY
+The
+.Fn rtime
+function is part of libtirpc.