NLSPROVIDER(3NSL) Networking Services Library Functions NLSPROVIDER(3NSL)

nlsprovider - get name of transport provider

char *nlsprovider(void);

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.

If the variable is not defined in the environment, a NULL pointer is returned.

/usr/lib/libnls.so.1

shared object

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Unsafe

attributes(7), nlsadmin(8)

This interface is unsafe in multithreaded applications. Unsafe interfaces should be called only from the main thread.

November 14, 2002 OmniOS