Open System Services Library Calls Reference Manual (G06.27+, H06.04+)

endnetent(3) OSS Library Calls Ref
erence Manual
NAME
endnetent - Closes the networks database
LIBRARY
G-series native OSS processes: /G/system/sysnn/zinetsrl
H-series OSS processes: /G/system/zdllnnn/zinetdll
SYNOPSIS
#include <netdb.h>
void endnetent(void);
PARAMETERS
None.
DESCRIPTION
The endnetent( ) function closes /etc/networks, the networks database le. The database can be
opened with the getnetent(), getnetbyaddr(), setnetent(),orgetnetbyname( ) function.
RETURN VALUES
The endnetent( ) does not return a value.
ERRORS
The endnetent( ) function does not set errno.
FILES
/etc/networks The Internet network database le. Each record in the le occupies a single line
and has three elds: the network name, the network number, and aliases.
RELATED INFORMATION
Functions: getnetbyaddr(3), getnetbyname(3), getnetent(3), setnetent(3).
Files: networks(4).
210 Hewlett-Packard Company 527187-004