Deleted Added
full compact
rpcgen.1 (79755) rpcgen.1 (95124)
1.\" @(#)rpcgen.1 1.35 93/06/02 SMI
1.\" @(#)rpcgen.1 1.35 93/06/02 SMI
2.\" $FreeBSD: head/usr.bin/rpcgen/rpcgen.1 79755 2001-07-15 08:06:20Z dd $
2.\" $FreeBSD: head/usr.bin/rpcgen/rpcgen.1 95124 2002-04-20 12:18:28Z charnier $
3.\" Copyright 1985-1993 Sun Microsystems, Inc.
3.\" Copyright 1985-1993 Sun Microsystems, Inc.
4.\"
4.Dd March 28, 1993
5.Dt RPCGEN 1
6.Os
7.Sh NAME
8.Nm rpcgen
9.Nd an RPC protocol compiler
10.Sh SYNOPSIS
11.Nm

--- 33 unchanged lines hidden (view full) ---

45.Nm
46.Op Fl n Ar netid
47.Op Fl o Ar outfile
48.Op Ar infile
49.\" .SH AVAILABILITY
50.\" .LP
51.\" SUNWcsu
52.Sh DESCRIPTION
5.Dd March 28, 1993
6.Dt RPCGEN 1
7.Os
8.Sh NAME
9.Nm rpcgen
10.Nd an RPC protocol compiler
11.Sh SYNOPSIS
12.Nm

--- 33 unchanged lines hidden (view full) ---

46.Nm
47.Op Fl n Ar netid
48.Op Fl o Ar outfile
49.Op Ar infile
50.\" .SH AVAILABILITY
51.\" .LP
52.\" SUNWcsu
53.Sh DESCRIPTION
53.Nm Rpcgen
54is a tool that generates C code to implement an
54The
55.Nm
56utility is a tool that generates C code to implement an
55.Tn RPC
56protocol.
57The input to
58.Nm
59is a language similar to C known as
60.Tn RPC
61Language (Remote Procedure Call Language).
62.Pp
57.Tn RPC
58protocol.
59The input to
60.Nm
61is a language similar to C known as
62.Tn RPC
63Language (Remote Procedure Call Language).
64.Pp
63.Nm Rpcgen
64is normally used as in the first synopsis where
65The
66.Nm
67utility is normally used as in the first synopsis where
65it takes an input file and generates three output files.
66If the
67.Ar infile
68is named
69.Pa proto.x ,
70then
71.Nm
72generates a header in

--- 7 unchanged lines hidden (view full) ---

80With the
81.Fl T
82option,
83it also generates the
84.Tn RPC
85dispatch table in
86.Pa proto_tbl.i .
87.Pp
68it takes an input file and generates three output files.
69If the
70.Ar infile
71is named
72.Pa proto.x ,
73then
74.Nm
75generates a header in

--- 7 unchanged lines hidden (view full) ---

83With the
84.Fl T
85option,
86it also generates the
87.Tn RPC
88dispatch table in
89.Pa proto_tbl.i .
90.Pp
88.Nm Rpcgen
89can also generate sample client and server files
91The
92.Nm
93utility can also generate sample client and server files
90that can be customized to suit a particular application.
91The
92.Fl \&Sc ,
93.Fl \&Ss
94and
95.Fl \&Sm
96options generate sample client, server and makefile, respectively.
97The

--- 279 unchanged lines hidden (view full) ---

377rpcgen generated code and user written code.
378This option is useful
379for users who want to use threads in their code.
380However, the
381.Xr rpc_svc_calls 3
382functions are not yet MT-safe, which means that rpcgen generated server-side
383code will not be MT-safe.
384.It Fl N
94that can be customized to suit a particular application.
95The
96.Fl \&Sc ,
97.Fl \&Ss
98and
99.Fl \&Sm
100options generate sample client, server and makefile, respectively.
101The

--- 279 unchanged lines hidden (view full) ---

381rpcgen generated code and user written code.
382This option is useful
383for users who want to use threads in their code.
384However, the
385.Xr rpc_svc_calls 3
386functions are not yet MT-safe, which means that rpcgen generated server-side
387code will not be MT-safe.
388.It Fl N
385This option allows procedures to have multiple arguments.
389Allow procedures to have multiple arguments.
386It also uses the style of parameter passing that closely resembles C.
387So, when passing an argument to a remote procedure, you do not have to
388pass a pointer to the argument, but can pass the argument itself.
389This behavior is different from the old style of
390.Nm
391generated code.
392To maintain backward compatibility,
393this option is not the default.

--- 126 unchanged lines hidden ---
390It also uses the style of parameter passing that closely resembles C.
391So, when passing an argument to a remote procedure, you do not have to
392pass a pointer to the argument, but can pass the argument itself.
393This behavior is different from the old style of
394.Nm
395generated code.
396To maintain backward compatibility,
397this option is not the default.

--- 126 unchanged lines hidden ---