summaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen/rpcgen.1
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-05 09:50:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-05 09:50:32 +0000
commit5013881a89e4a7796fbad098e2abba4eb3fb2856 (patch)
tree2abb9c5308d4c812188be53f110fa9c683ba93ba /usr.bin/rpcgen/rpcgen.1
parent4107f58e89e1963f07b66da353523f87570b65e5 (diff)
KNF, and remove part of the TLI garbage
Diffstat (limited to 'usr.bin/rpcgen/rpcgen.1')
-rw-r--r--usr.bin/rpcgen/rpcgen.137
1 files changed, 6 insertions, 31 deletions
diff --git a/usr.bin/rpcgen/rpcgen.1 b/usr.bin/rpcgen/rpcgen.1
index 7c4908ccf89..7ccb5e8e542 100644
--- a/usr.bin/rpcgen/rpcgen.1
+++ b/usr.bin/rpcgen/rpcgen.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rpcgen.1,v 1.8 2000/11/10 05:10:39 aaron Exp $
+.\" $OpenBSD: rpcgen.1,v 1.9 2001/12/05 09:50:31 deraadt Exp $
.\" $NetBSD: rpcgen.1,v 1.5.2.1 1995/12/05 02:51:02 jtc Exp $
.\" from: @(#)rpcgen.new.1 1.1 90/11/09 TIRPC 1.0; from 40.10 of 10/10/89
.\" Copyright (c) 1988,1990 Sun Microsystems, Inc. - All Rights Reserved.
@@ -10,13 +10,10 @@
.Nd RPC protocol compiler
.Sh SYNOPSIS
.Nm rpcgen
-.Ar infile
-.Nm rpcgen
-.Op Fl D Op Ar name=value
-.Op Fl A
-.Op Fl M
-.Op Fl T
+.Op Fl aALTNbC
+.Op Fl D Op Ar name Ns Op =value
.Op Fl K Ar secs
+.Op Fl i Ar lines
.Ar infile
.Nm rpcgen
.Fl c Li |
@@ -33,11 +30,6 @@
.Ar nettype
.Op Fl o Ar outfile
.Op Ar infile
-.Nm rpcgen
-.Fl s Li |
-.Ar netid
-.Op Fl o Ar outfile
-.Op Ar infile
.Sh DESCRIPTION
.Nm
is a tool that generates C code to implement an
@@ -88,29 +80,12 @@ This code would be created in
.Pp
The server created can be started both by the port monitors
(for example,
-.Em inetd
-or
-.Em listen )
+.Xr inetd 8 Ns )
or by itself.
When it is started by a port monitor,
it creates servers only for the transport for which
the file descriptor 0 was passed.
-The name of the transport must be specified
-by setting up the environment variable
-.Ev PM_TRANSPORT .
-When the server generated by
-.Nm
-is executed,
-it creates server handles for all the transports
-specified in
-.Ev NETPATH
-environment variable,
-or if it is unset,
-it creates server handles for all the visible transports from
-.Pa /etc/netconfig
-file.
-Note:
-the transports are chosen at run time and not at compile time.
+The transports are chosen at run time and not at compile time.
When the server is self-started,
it backgrounds itself by default.
A special define symbol