*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: endservent_r | Section: 3 | Source: Digital UNIX | File: endservent_r.3.gz
endservent(3) Library Functions Manual endservent(3) NAME endservent, endservent_r - Close the network services database file. LIBRARY Standard C Library (libc.so, libc.a) SYNOPSIS #include <netdb.h> void endservent(void); [Digital] The following function is supported in order to maintain backward compatibility with previous versions of the operating system. void endservent_r( struct servent_data *serv_data); STANDARDS Interfaces documented on this reference page conform to industry stan- dards as follows: endservent(): XPG4-UNIX Refer to the standards(5) reference page for more information about in- dustry standards and associated tags. PARAMETERS [Digital] For endservent_r() only, this is data for services database. DESCRIPTION The endservent() function closes either the local /etc/services file or the NIS distributed services file, previously opened with the getser- vent(), getservbyname(), or getservbyport function. To determine which file or files to search, and in which order, the system uses the switches in the /etc/svc.conf file. [Digital] If the most recent setservent() function was performed with a nonzero parameter, a subsequent endservent() function will not close the network services database file. NOTES [Digital] The endservent_r() function is the reentrant version of the endservent() function. It is supported in order to maintain backward compatibility with previous versions of the operating system. The netdb.h header file defines the serv_data structure. ERRORS Current industry standards do not define error values for the endser- vent() function. [Digital] If the endservent_r() function fails, errno may be set to: serv_data is NULL. FILES Contains service names. The database service selection configuration file. RELATED INFORMATION Functions: getservent(3), getservbyname(3), getservbyport(3), setser- vent(3). Files: services(4), svc.conf(4). Networks: nis_intro(7). Standards: standards(5). delim off endservent(3)

Navigation Options