Use the rpcgen command to generate C code to implement an RPC protocol. The input to RPCGEN is a language similar to C, known as RPC language.

You normally use rpcgen infile to generate the following four output files. For example, if the infile is named PROTO.X, rpcgen generates:

For more information on the rpcgen command, see the Sun Microsystems publication, Networking on the Sun Workstation: Remote Procedure Call Programming Guide.

Syntax

ÄrpcgenÄÄ infileÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
ÄrpcgenÄÄÄÄÂÄ -cÄÂÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄ
             ÃÄ -hÄ´   ÀÄ -o outfileÄÂÄÄÄÄÄÄÄÄÄÂÄÄÙ
             ÃÄ -lÄ´                 ÀÄ infileÄÙ
             ÀÄ -mÄÙ
ÄrpcgenÄÄÄÄ -s transportÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÂÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄ
                             ÀÄ -o outfileÄÙ   ÀÄ infileÄÄÙ

Parameters

  • c -h -l -m -o outfile infile -s transport


    [Back] [Next]