[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 2

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

net_data Points to the netent_data structure.

Files

/etc/networks Contains official network names.

Related Information

getnetbyaddr_r Subroutine, getnetbyname_r Subroutine, getnetent_r Subroutine, andsetnetent_r Subroutine.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]