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.
Note: The result returned by this routine is a pointer to a data structure with the NIS+ library, and should be considered a "read-only" result and should not be modified.
nis_add_entry, nis_first_entry, nis_list, nis_lookup, nis_modify_entry, nis_next_entry, nis_perror, nis_remove_entry, and nis_sperror.
Network Information Services+ and NIS+ Namespace and Structure in AIX Version 4.3 Network Information Services (NIS and NIS+) Guide.
TCP/IP Protocols in AIX Version 4.3 System Management Guide: Communications and Networks.
List of NIS and NIS+ Programming References and Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.