This will return the second key-value pair associated with the map. The concepts of first and next depend on the structure of the NIS map being processed. If the same sequence of operations is performed on the same map at the same server, the entries are seen in the same order. If it binds itself to a different server, entries may be seen twice or not at all. The domain rebinds itself to protect the enumeration process from being interrupted before it completes.
Parameters indomain Points to the name of the domain used as input to the subroutine.
Memory is allocated by the NIS client using the malloc subroutine, and may be freed by the application. Memory is allocated by the NIS client using the malloc subroutine, and may be freed by the application.