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)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004