2fe8fb192f
There is important information about booting non-ack images in docs/UPDATING. ack/aout-format images can't be built any more, and booting clang/ELF-format ones is a little different. Updating to the new boot monitor is recommended. Changes in this commit: . drop boot monitor -> allowing dropping ack support . facility to copy ELF boot files to /boot so that old boot monitor can still boot fairly easily, see UPDATING . no more ack-format libraries -> single-case libraries . some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases . drop several ack toolchain commands, but not all support commands (e.g. aal is gone but acksize is not yet). . a few libc files moved to netbsd libc dir . new /bin/date as minix date used code in libc/ . test compile fix . harmonize includes . /usr/lib is no longer special: without ack, /usr/lib plays no kind of special bootstrapping role any more and bootstrapping is done exclusively through packages, so releases depend even less on the state of the machine making them now. . rename nbsd_lib* to lib* . reduce mtree
34 lines
844 B
Groff
34 lines
844 B
Groff
.\" @(#)getrpcport.3r 2.2 88/08/02 4.0 RPCSRC; from 1.12 88/02/26 SMI
|
|
.\" $NetBSD: getrpcport.3,v 1.5 2003/01/18 11:29:04 thorpej Exp $
|
|
.\"
|
|
.Dd October 6, 1987
|
|
.Dt GETRPCPORT 3
|
|
.Os
|
|
.Sh NAME
|
|
.Nm getrpcport
|
|
.Nd get RPC port number
|
|
.Sh LIBRARY
|
|
.Lb libc
|
|
.Sh SYNOPSIS
|
|
.Ft int
|
|
.Fn getrpcport "char *host" "int prognum" "int versnum" "int proto"
|
|
.Sh DESCRIPTION
|
|
.Fn getrpcport
|
|
returns the port number for version
|
|
.Fa versnum
|
|
of the RPC program
|
|
.Fa prognum
|
|
running on
|
|
.Fa host
|
|
and using protocol
|
|
.Fa proto .
|
|
It returns 0 if it cannot contact the portmapper, or if
|
|
.Fa prognum
|
|
is not registered.
|
|
If
|
|
.Fa prognum
|
|
is registered but not with version
|
|
.Fa 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 service.
|