Bring in a transport-independent RPC (TI-RPC).
[dragonfly.git] / lib / libc / rpc / rpc.5
1 .\" $NetBSD: rpc.5,v 1.3 2000/06/15 20:05:54 fvdl Exp $
2 .\" $FreeBSD: src/lib/libc/rpc/rpc.5,v 1.11 2005/01/20 09:17:04 ru Exp $
3 .\" $DragonFly: src/lib/libc/rpc/rpc.5,v 1.2 2003/06/17 04:26:45 dillon Exp $
4 .\" @(#)rpc.4 1.17 93/08/30 SMI; from SVr4
5 .\" Copyright 1989 AT&T
6 .Dd December 10, 1991
7 .Dt RPC 5
8 .Os
9 .Sh NAME
10 .Nm rpc
11 .Nd rpc program number data base
12 .Sh SYNOPSIS
13 .Pa /etc/rpc
14 .Sh DESCRIPTION
15 The
16 .Nm
17 file contains user readable names that
18 can be used in place of RPC program numbers.
19 For each RPC program a single line should be present
20 with the following information:
21 .Pp
22 .Bl -enum -compact
23 .It
24 name of the RPC program
25 .It
26 RPC program number
27 .It
28 aliases
29 .El
30 .Pp
31 Items are separated by any number of blanks and/or
32 tab characters.
33 A hash
34 .Pq Dq Li #
35 indicates the beginning of a comment; characters up to the end of
36 the line are not interpreted by routines which search the file.
37 .Sh FILES
38 .Bl -tag -width /etc/nsswitch.conf -compact
39 .It Pa /etc/nsswitch.conf
40 .El
41 .Sh EXAMPLES
42 Below is an example of an RPC database:
43 .Bd -literal
44 #
45 #       rpc
46 #
47 rpcbind         100000  portmap sunrpc portmapper
48 rusersd         100002  rusers
49 nfs             100003  nfsprog
50 mountd          100005  mount   showmount
51 walld           100008  rwall   shutdown
52 sprayd          100012  spray
53 llockmgr        100020
54 nlockmgr        100021
55 status          100024
56 bootparam       100026
57 keyserv         100029  keyserver
58 .Ed
59 .Sh SEE ALSO
60 .Xr getrpcent 3