rpcgen(1scl)rpcgen(1scl)NAMErpcgen - RPC protocol compiler
SYNOPSISrpcgen infile
rpcgen [ -a ] [ -b ] [ -C ] [ -Dname [ =value ] ]
[ -I [ -K seconds ] ] [ -L ] [ -M ]
[ -N ] [ -T ] [ -Y pathname ] infile
rpcgen [ -c | -h | -l | -m | -t | -Sc | -Ss | -Sm ]
[ -o outfile ] [ infile ]
rpcgen [ -s nettype ] [ -o outfile ] [ infile ]
rpcgen [ -n netid ] [ -o outfile ] [ infile ]
DESCRIPTIONrpcgen(1scl) is a tool that generates C code to implement an RPC proto‐
col. The input to rpcgen(1scl) is an RPC specification file, written
in a language that is similar to C, and is known as the RPC (Remote
Procedure Call) language.
Refer to the Solaris rpcgen(1) man pages for a description of all the
available options with this utility.
SCL IMPLEMENTATION NOTESrpcgen(1scl) is a utility made available for use with the RPC component
of the SCL (Solaris Compatibility Libraries). rpcgen(1scl) is a direct
port of the code placed in the public domain by Sun. See scl_rpc(3scl)
for more information.
By default, rpcgen(1scl) is located in the /usr/opt/solcomplib/bin
directory. Refer to scl_intro(3scl) for information on how to use a
different directory.
The server code created by rpcgen(1scl) will create server handles for
all the transports specified in the NETPATH environment variable, or,
if that is unset, all the visible transports from the scl_netcon‐
fig(4scl) file.
Some of the options that rpcgen(1scl) supports may result in output
files being generated which have Solaris-specific dependencies, which
may therefore not build cleanly on another platform. The options
affected by this restriction for this release of SCL on Tru64 UNIX are:
-a and -Sm which generate sample makefiles;
-I which includes code in server modules for inetd(8) sup‐
port.
RELATED INFORMATION
Overviews: scl_intro(3scl), scl_rpc(3scl)
Files: scl_error_log(4scl), scl_netconfig(4scl)
Functions: getnetpath(3scl)
Solaris man pages: rpcgen(1), rpc(3N), rpc_svc_calls(3N)
Manual: Solaris Compatibility Library User's Guide
rpcgen(1scl)