Print this page
4329 rpcgen(1): Four output files are generated by default

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/rpcgen.1
          +++ new/usr/src/man/man1/rpcgen.1
   1    1  '\" te
   2    2  .\" Copyright (C) 2009, Sun Microsystems, Inc. All Rights Reserved
   3    3  .\" Copyright 1989 AT&T
   4    4  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
   5    5  .\"  See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
   6    6  .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7      -.TH RPCGEN 1 "Aug 24, 2009"
        7 +.TH RPCGEN 1 "Dec 16, 2013"
   8    8  .SH NAME
   9    9  rpcgen \- an RPC protocol compiler
  10   10  .SH SYNOPSIS
  11   11  .LP
  12   12  .nf
  13   13  \fBrpcgen\fR \fIinfile\fR
  14   14  .fi
  15   15  
  16   16  .LP
  17   17  .nf
↓ open down ↓ 20 lines elided ↑ open up ↑
  38   38  
  39   39  .SH DESCRIPTION
  40   40  .sp
  41   41  .LP
  42   42  The \fBrpcgen\fR utility is a tool that generates C code to implement an
  43   43  \fBRPC\fR protocol. The input to \fBrpcgen\fR is a language similar to C known
  44   44  as \fBRPC\fR Language (Remote Procedure Call Language).
  45   45  .sp
  46   46  .LP
  47   47  The \fBrpcgen\fR utility is normally used as in the first synopsis where it
  48      -takes an input file and generates three output files. If the \fIinfile\fR is
       48 +takes an input file and generates four output files. If the \fIinfile\fR is
  49   49  named \fBproto.x\fR, then \fBrpcgen\fR generates a header in \fBproto.h\fR,
  50   50  \fBXDR\fR routines in \fBproto_xdr.c\fR, server-side stubs in
  51   51  \fBproto_svc.c\fR, and client-side stubs in \fBproto_clnt.c\fR. With the
  52   52  \fB-T\fR option, it also generates the \fBRPC\fR dispatch table in
  53   53  \fBproto_tbl.i\fR.
  54   54  .sp
  55   55  .LP
  56   56  \fBrpcgen\fR can also generate sample client and server files that can be
  57   57  customized to suit a particular application. The \fB-Sc\fR, \fB-Ss\fR, and
  58   58  \fB-Sm\fR options generate sample client, server and makefile, respectively.
↓ open down ↓ 539 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX