nlsprovider(3N)
nlsprovider --
get name of transport provider
Synopsis
cc [options] file -lnls -lnsl
#include <listen.h>
char *nlsprovider(void);
Description
nlsprovider returns a pointer to a null terminated
character string which contains the name of the transport provider
as placed in the environment by the listener process.
If the variable is not defined in the
environment, a NULL pointer is returned.
The environment variable is only available to server processes
started by the listener process.
Files
- /usr/lib/libnls.a
-
- /usr/lib/libnsl.so
-
Return values
If the variable is not defined in the environment,
a NULL pointer is returned.
References
nlsadmin(1M)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.