Open the network name database file
#include <netdb.h> void setnetent( int stayopen );
The setnetent() function opens and rewinds the network name database file.
| Safety: | |
|---|---|
| Cancellation point | Yes | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
This function uses static data; if you need the data for future use, you should copy it before any subsequent calls overwrite it.