This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Close the network services database file
#include <netdb.h> void endservent( void );
libsocket
Use the -l socket option to qcc to link against this library.
The endservent() routine closes the network services database file.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | No |
getservbyname(), getservbyport(), getservent(), servent, setservent()
/etc/services in the Utilities Reference