get_nderror(3N) get_nderror(3N)
NAME
get_nderror, set_nderror - get/set nderror value
SYNOPSIS
cc [options] file -lnsl
#include <netdir.h>
int get_nderror(void);
int set_nderror(int);
DESCRIPTION
The get_nderror and set_nderror functions are used in multi-
threaded applications that use Name-to-Address Translation
(netdir) to set and return the value in _nderror.
These functions are required by applications compiled with the
_REENTRANT flag if the user needs to set the thread-specific
version of _nderror.
Files
/usr/lib/libnsl.so
Network Services Library (shared object)
USAGE
While get_nderror and set_nderror are designed for use in
multi-threaded applications, they are available for used in
non-reentrant code and may be incorporated if a need is
anticipated to convert to reentrant code later on.
REFERENCES
intro(2), intro(3), netdir(3N)
Copyright 1994 Novell, Inc. Page 1