COHERENT manpages

This page displays the COHERENT manpage for setnetent() [Open and rewind file /etc/networks].

List of available manpages
Index


setnetent() -- Sockets Function (libsocket)

Open and rewind file /etc/networks

#include <netdb.h> int setnetent(stayopen) int stayopen;

Function setnetent()  opens or rewinds file  /etc/networks, which describes
all entities on your local network.   If flag stayopen is set to a non-zero
value, /etc/networks  is not  closed after  each call to  getnetbyaddr() or
getnetbyname().

See Also

endnetent(),
getnetbyaddr(),
getnetbyname(),
getnetent(),
libsocket,
netdb.h