Returns the name of the NIS+ domain for this machine.
cc [ flag . . . ] file. . . -lnsl [ library. . . ]
#include <rpcsvc/nis.h>
nis_name nis_local_directory(void)
One of a group of NIS+ APIs that return several default NIS+ names associated with the current process, nis_local_directory( ) returns the name of the NIS+ domain for this machine. This is currently the same as the Secure RPC domain returned by the sysinfo(2) system call.