Returns the order number for an Network Information Services (NIS) map that identifies when the map was built.
#include <rpcsvc/ypclnt.h> #include <rpcsvc/yp_prot.h>
yp_order (indomain, inmap, outorder) char *indomain; char *inmap; int *outorder;
The yp_order subroutine returns the order number for a NIS map that identifies when the map was built. The number determines whether the local NIS map is more current than the master NIS database.
Upon successful completion, this routine 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.
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.