Returns the machine name of the Network Information Services (NIS) master server for a map.
#include <rpcsvc/ypclnt.h> #include <rpcsvc/yp_prot.h>
yp_master (indomain, inmap, outname) char *indomain; char *inmap; char **outname;
The yp_master subroutine returns the machine name of the NIS master server for a map.
Upon successful completion, this subroutine returns a value of 0. If unsuccessful, it returns one of the error codes described in the rpcsvc/yp_prot.h file.
This subroutine is part of Base Operating System (BOS) Runtime.
The malloc subroutine.
Network Information Service (NIS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.
List of NIS Programming References and Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.