summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen/rpcgen.1
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-07-14 17:54:00 +0000
committeralfred <alfred@FreeBSD.org>2002-07-14 17:54:00 +0000
commitd95d8b89ab353bd4c7a5eef5bb7242dee7ccea22 (patch)
tree6c7d6c49e0d195459b63ed0699dde870666fc676 /usr.bin/rpcgen/rpcgen.1
parent44dbe3e8f49778179a228e43bdf8231585b9c4f7 (diff)
downloadFreeBSD-src-d95d8b89ab353bd4c7a5eef5bb7242dee7ccea22.zip
FreeBSD-src-d95d8b89ab353bd4c7a5eef5bb7242dee7ccea22.tar.gz
- TI-RPC is now the default again for code generation.
- As before, inetd support support is turned of per default. Code for inetd can be made with -I. - Support for ``transport monitors'' and the NLSPROVIDER env variable is still there , even if their use is not clear in non TLI stream based systems like Free-/NetBSD. It can be activated with -P. - There are a few corrections in rpcgen.1 and usage function to conform to the code. Added and documented -P - I removed the #ifdefs checks for Free-/NetBSD since we are the only ones who use this code. MaxOS X may have the same limitations as we have, so this code will correctly build for them. - Generate correct cflags. Submitted by: mbr, Jean-Luc Richier <Jean-Luc.Richier@imag.fr> PR: bin/29175, misc/27816
Diffstat (limited to 'usr.bin/rpcgen/rpcgen.1')
-rw-r--r--usr.bin/rpcgen/rpcgen.147
1 files changed, 29 insertions, 18 deletions
diff --git a/usr.bin/rpcgen/rpcgen.1 b/usr.bin/rpcgen/rpcgen.1
index 4f4385f..60a9222 100644
--- a/usr.bin/rpcgen/rpcgen.1
+++ b/usr.bin/rpcgen/rpcgen.1
@@ -19,7 +19,7 @@
.Fl D Ns Ar name Ns Op Ar =value
.Oc
.Op Fl i Ar size
-.Op Fl I Op Fl K Ar seconds
+.Op Fl I Fl P Op Fl K Ar seconds
.Op Fl L
.Op Fl M
.Op Fl N
@@ -112,6 +112,9 @@ the server side sample file to
and the sample makefile to
.Pa makefile.proto .
.Pp
+If option
+.Fl I
+is set,
The server created can be started both by the port monitors
(for example,
.Xr inetd 8 )
@@ -121,9 +124,9 @@ it creates servers only for the transport for which
the file descriptor
.Em 0
was passed.
-The name of the transport must be specified
+The name of the transport may be specified
by setting up the environment variable
-.Ev PM_TRANSPORT .
+.Ev NLSPROVIDER .
When the server generated by
.Nm
is executed,
@@ -250,15 +253,6 @@ Generate transport specific
.Tn RPC
code for older versions
of the operating system.
-.Pp
-Note: in
-.Fx ,
-this compatibility flag is turned on by
-default since
-.Fx
-supports only the older
-.Tn ONC RPC
-library.
.It Fl c
Compile into
.Tn XDR
@@ -328,12 +322,12 @@ All the error messages for
servers
are always logged with
.Xr syslog 3 .
-.\" .IP
-.\" Note:
-.\" this option is supported for backward compatibility only.
-.\" By default,
-.\" .B rpcgen
-.\" generates servers that can be invoked through portmonitors.
+.Pp
+Note:
+Contrary to some systems, in
+.Fx
+this option is needed to generate
+servers that can be invoked through portmonitors and inetd.
.Pp
.It Fl K Ar seconds
By default, services created using
@@ -422,6 +416,23 @@ standard output is used
and
.Fl t
modes only).
+.It Fl P
+Compile support for
+port monitors
+in the server side stubs.
+.Pp
+Note:
+Contrary to some systems, in
+.Fx
+this option is needed to generate
+servers that can be monitored.
+.Pp
+If the
+.Fl I
+option has been specified,
+.Fl P
+is turned off automatically.
+.Pp
.It Fl s Ar nettype
Compile into server-side stubs for all the
transports belonging to the class
OpenPOWER on IntegriCloud