OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / getrpcport.3
index 241c73e..b5cf564 100644 (file)
@@ -5,13 +5,15 @@
 .\" %%%LICENSE_END
 .\"
 .\" @(#)getrpcport.3r  2.2 88/08/02 4.0 RPCSRC; from 1.12 88/02/26 SMI
-.TH GETRPCPORT 3 2007-12-23 "" "Linux Programmer's Manual"
+.TH GETRPCPORT 3 2014-05-28 "" "Linux Programmer's Manual"
 .SH NAME
 getrpcport \- get RPC port number
 .SH SYNOPSIS
 .nf
-.BI "int getrpcport(char *" host ", int " prognum ", int " versnum \
-", int " proto );
+.B "#include <rpc/rpc.h>"
+.sp
+.BI "int getrpcport(const char *" host ", unsigned long " prognum \
+", unsigned long " versnum ", unsigned " proto );
 .fi
 .SH DESCRIPTION
 .BR getrpcport ()
@@ -37,10 +39,11 @@ The version mismatch will be detected upon the first call to the service.
 Not in POSIX.1-2001.
 Present on the BSDs, Solaris, and many other systems.
 .SH COLOPHON
-This page is part of release 3.64 of the Linux
+This page is part of release 3.79 of the Linux
 .I man-pages
 project.
 A description of the project,
-and information about reporting bugs,
+information about reporting bugs,
+and the latest version of this page,
 can be found at
 \%http://www.kernel.org/doc/man\-pages/.