rpcgen.1 (75863a6dbbcb1450be4b8774a56f059e70f534cd) | rpcgen.1 (06e482e60a60643b7d60549870f45c6ba6c4c7a8) |
---|---|
1.\" @(#)rpcgen.1 1.35 93/06/02 SMI 2.\" $FreeBSD$ 3.\" Copyright 1985-1993 Sun Microsystems, Inc. 4.\" 5.Dd March 28, 1993 6.Dt RPCGEN 1 7.Os 8.Sh NAME --- 101 unchanged lines hidden (view full) --- 110the server side sample file to 111.Pa proto_server.c 112and the sample makefile to 113.Pa makefile.proto . 114.Pp 115If option 116.Fl I 117is set, | 1.\" @(#)rpcgen.1 1.35 93/06/02 SMI 2.\" $FreeBSD$ 3.\" Copyright 1985-1993 Sun Microsystems, Inc. 4.\" 5.Dd March 28, 1993 6.Dt RPCGEN 1 7.Os 8.Sh NAME --- 101 unchanged lines hidden (view full) --- 110the server side sample file to 111.Pa proto_server.c 112and the sample makefile to 113.Pa makefile.proto . 114.Pp 115If option 116.Fl I 117is set, |
118The server created can be started both by the port monitors | 118the server created can be started both by the port monitors |
119(for example, 120.Xr inetd 8 ) 121or by itself. 122When it is started by a port monitor, 123it creates servers only for the transport for which 124the file descriptor 125.Em 0 126was passed. --- 169 unchanged lines hidden (view full) --- 296platform, the default is actually 0 (which means 297that inline code generation is disabled by default). You must specify 298a non-zero value explicitly to override this default. 299.It Fl I 300Compile support for 301.Xr inetd 8 302in the server side stubs. 303Such servers can be self-started or can be started by | 119(for example, 120.Xr inetd 8 ) 121or by itself. 122When it is started by a port monitor, 123it creates servers only for the transport for which 124the file descriptor 125.Em 0 126was passed. --- 169 unchanged lines hidden (view full) --- 296platform, the default is actually 0 (which means 297that inline code generation is disabled by default). You must specify 298a non-zero value explicitly to override this default. 299.It Fl I 300Compile support for 301.Xr inetd 8 302in the server side stubs. 303Such servers can be self-started or can be started by |
304.Nm inetd . | 304.Xr inetd 8 . |
305When the server is self-started, it backgrounds itself by default. 306A special define symbol 307.Em RPC_SVC_FG 308can be used to run the 309server process in foreground, or the user may simply compile without 310the 311.Fl I 312option. 313.Pp 314If there are no pending client requests, the | 305When the server is self-started, it backgrounds itself by default. 306A special define symbol 307.Em RPC_SVC_FG 308can be used to run the 309server process in foreground, or the user may simply compile without 310the 311.Fl I 312option. 313.Pp 314If there are no pending client requests, the |
315.Nm inetd | 315.Xr inetd 8 |
316servers exit after 120 seconds (default). 317The default can be changed with the 318.Fl K 319option. 320All the error messages for | 316servers exit after 120 seconds (default). 317The default can be changed with the 318.Fl K 319option. 320All the error messages for |
321.Nm inetd | 321.Xr inetd 8 |
322servers 323are always logged with 324.Xr syslog 3 . 325.Pp 326Note: 327Contrary to some systems, in 328.Fx 329this option is needed to generate | 322servers 323are always logged with 324.Xr syslog 3 . 325.Pp 326Note: 327Contrary to some systems, in 328.Fx 329this option is needed to generate |
330servers that can be invoked through portmonitors and inetd. | 330servers that can be invoked through portmonitors and 331.Xr inetd 8 . |
331.Pp 332.It Fl K Ar seconds 333By default, services created using 334.Nm 335and invoked through 336port monitors wait 120 seconds 337after servicing a request before exiting. 338That interval can be changed using the --- 88 unchanged lines hidden (view full) --- 427this option is needed to generate 428servers that can be monitored. 429.Pp 430If the 431.Fl I 432option has been specified, 433.Fl P 434is turned off automatically. | 332.Pp 333.It Fl K Ar seconds 334By default, services created using 335.Nm 336and invoked through 337port monitors wait 120 seconds 338after servicing a request before exiting. 339That interval can be changed using the --- 88 unchanged lines hidden (view full) --- 428this option is needed to generate 429servers that can be monitored. 430.Pp 431If the 432.Fl I 433option has been specified, 434.Fl P 435is turned off automatically. |
435.Pp | |
436.It Fl s Ar nettype 437Compile into server-side stubs for all the 438transports belonging to the class 439.Ar nettype . 440The supported classes are 441.Em netpath , 442.Em visible , 443.Em circuit_n , --- 91 unchanged lines hidden --- | 436.It Fl s Ar nettype 437Compile into server-side stubs for all the 438transports belonging to the class 439.Ar nettype . 440The supported classes are 441.Em netpath , 442.Em visible , 443.Em circuit_n , --- 91 unchanged lines hidden --- |