Returns the order number for an Network Information Services (NIS) map that identifies when the map was built.
C Library (libc.a)
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.
Item | Description |
---|---|
indomain | Points to the name of the domain used as input to the subroutine. |
inmap | Points to the name of the map used as input to the subroutine. |
outorder | Points to the returned order number, which is a 10-digit ASCII integer that represents the operating system time, in seconds, when the map was built. |
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.