Closes the /etc/networks file.
Standard C Library (libc.a)
#include <netdb.h>
void endnetent_r (net_data)
struct netent_data *net_data;
The endnetent_r subroutine closes the /etc/networks file. Calls made to the getnetent_r, getnetbyaddr_r, or getnetbyname_r subroutine open the /etc/networks file.
Item | Description |
---|---|
net_data | Points to the netent_data structure. |
Item | Description |
---|---|
/etc/networks | Contains official network names. |