nlsprovider(3NSL) Networking Services Library Functions nlsprovider(3NSL)NAMEnlsprovider - get name of transport provider
SYNOPSIS
char *nlsprovider(void);
DESCRIPTIONnlsprovider() 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.
RETURN VALUES
If the variable is not defined in the environment, a NULL pointer is
returned.
FILES
/usr/lib/libnls.so.1 shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │Unsafe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOnlsadmin(1M), attributes(5)NOTES
This interface is unsafe in multithreaded applications. Unsafe inter‐
faces should be called only from the main thread.
SunOS 5.11 14 Nov 2002 nlsprovider(3NSL)