HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
n
netdir(3N) netdir(3N)
ND_CHECK_RESERVEDPORT
Used to verify that the address corresponds to a reserved port, if that concept
exists for the transport provider. fildes is not used. pointer_to_args is a pointer
to a netbuf structure that contains the address. This option returns 40 only if
the address specified in pointer_to_args is reserved.
RETURN VALUES
The netdir_perror() routine prints an error message on the standard output stating why one of the
name-to-address mapping routines failed. The error message is preceded by the string given as an argu-
ment.
The netdir_sperror() routine returns a string containing an error message stating why one of the
name-to-address mapping routines failed.
netdir_sperror() returns a pointer to a buffer which contains the error message string. This buffer
is overwritten on each call. In multithreaded applications, this buffer is implemented as thread-specific
data.
SEE ALSO
gethostname(2), getnetconfig(3N), getnetpath(3N), netconfig(4).
HP-UX Release 11i: December 2000 − 3 − Section 3−−545
___
___