endnetent_r Subroutine

Purpose

Closes the /etc/networks file.

Library

Standard C Library (libc.a)

Syntax

#include <netdb.h>

void endnetent_r (net_data)
struct netent_data *net_data;

Description

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.

Parameters

Item Description
net_data Points to the netent_data structure.

Files

Item Description
/etc/networks Contains official network names.