OSDN Git Service

(split) LDP: Update original to LDP v3.51.
[linuxjm/LDP_man-pages.git] / original / man3 / rpc.3
index 6d87f44..b34be09 100644 (file)
@@ -1,5 +1,9 @@
 .\" This page was taken from the 4.4BSD-Lite CDROM (BSD license)
 .\"
+.\" %%%LICENSE_START(BSD_ONELINE_CDROM)
+.\" This page was taken from the 4.4BSD-Lite CDROM (BSD license)
+.\" %%%LICENSE_END
+.\"
 .\" @(#)rpc.3n 2.4 88/08/08 4.0 RPCSRC; from 1.19 88/06/24 SMI
 .\"
 .\" 2007-12-30, mtk, Convert function prototypes to modern C syntax
@@ -7,7 +11,7 @@
 .TH RPC 3 2008-07-17 "" "Linux Programmer's Manual"
 .SH NAME
 rpc \- library routines for remote procedure calls
-.SH "SYNOPSIS AND DESCRIPTION"
+.SH SYNOPSIS AND DESCRIPTION
 These routines allow C programs to make procedure
 calls on other machines across the network.
 First, the client calls a procedure to send a data packet to the server.
@@ -29,7 +33,7 @@ The prototypes below make use of the following types:
 
 typedef int \fIbool_t\fP;
 
-typedef bool_t (*\fIxdrproc_t\fP) (XDR *, void *,...);
+typedef bool_t (*\fIxdrproc_t\fP) (XDR *, void *, ...);
 
 typedef bool_t (*\fIresultproc_t\fP) (caddr_t resp,
                                 struct sockaddr_in *raddr);
@@ -227,7 +231,7 @@ Default timeouts are set, but can be modified using
 .BR clnt_control ().
 .IP
 Warning: Using UDP has its shortcomings.
-Since UDP-based RPC messages can only hold up to 8 Kbytes of encoded data,
+Since UDP-based RPC messages can hold only up to 8 Kbytes of encoded data,
 this transport cannot be used for procedures that take
 large arguments or return huge results.
 .LP
@@ -473,7 +477,7 @@ time until a response is received or until the call times out.
 The total time for the call to time out is specified by
 .BR clnt_call ().
 .IP
-Warning: since UDP-based RPC messages can only hold up to 8 Kbytes
+Warning: since UDP-based RPC messages can hold only up to 8 Kbytes
 of encoded data, this transport cannot be used for procedures
 that take large arguments or return huge results.
 .LP
@@ -695,7 +699,7 @@ A global variable reflecting the RPC service side's
 read file descriptor bit mask; it is suitable as a parameter to the
 .BR select (2)
 system call.
-This is only of interest if a service implementor does not call
+This is of interest only if a service implementor does not call
 .BR svc_run (),
 but rather does his own asynchronous event processing.
 This variable is read-only (do not pass its address to
@@ -750,7 +754,7 @@ of a procedure associated with the RPC service transport handle,
 .BI "void svc_getreqset(fd_set *" rdfds );
 .fi
 .IP
-This routine is only of interest if a service implementor does not call
+This routine is of interest only if a service implementor does not call
 .BR svc_run (),
 but instead implements custom asynchronous event processing.
 It is called when the
@@ -1009,7 +1013,7 @@ RPC-style messages without using the RPC package.
 .BI "bool_t xdr_authunix_parms(XDR *" xdrs ", struct authunix_parms *" aupp );
 .fi
 .IP
-Used for describing Unix credentials.
+Used for describing UNIX credentials.
 This routine is useful for users
 who wish to generate these credentials without using the RPC
 authentication package.
@@ -1095,11 +1099,11 @@ it should unregister itself with the RPC service package.
 This routine modifies the global variable
 .IR svc_fds .
 Service implementors usually do not need this routine.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .\" We don't have an rpc_secure.3 page in the set at the moment -- MTK, 19 Sep 05
 .\" .BR rpc_secure (3),
 .BR xdr (3)
-.br
+
 The following manuals:
 .RS
 Remote Procedure Calls: Protocol Specification
@@ -1109,6 +1113,7 @@ Remote Procedure Call Programming Guide
 rpcgen Programming Guide
 .br
 .RE
+
 .IR "RPC: Remote Procedure Call Protocol Specification" ,
 RFC\ 1050, Sun Microsystems, Inc.,
 USC-ISI.