Unix/Linux Go Back    


NetBSD 6.1.5 - man page for getrpcport (netbsd section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


GETRPCPORT(3)			   BSD Library Functions Manual 		    GETRPCPORT(3)

NAME
     getrpcport -- get RPC port number

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     int
     getrpcport(char *host, int prognum, int versnum, int proto);

DESCRIPTION
     getrpcport() returns the port number for version versnum of the RPC program prognum running
     on host and using protocol proto.	It returns 0 if it cannot contact the portmapper, or if
     prognum is not registered.  If prognum is registered but not with version versnum, it will
     still return a port number (for some version of the program) indicating that the program is
     indeed registered.  The version mismatch will be detected upon the first call to the ser-
     vice.

BSD					 October 6, 1987				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 06:05 PM.