QNX Developer Support
![]() |
![]() |
![]() |
![]() |
endservent()
Close the network services database file
Synopsis:
#include <netdb.h> void endservent( void );
Library:
libsocket
Use the -l socket option to qcc to link against this library.
Description:
The endservent() routine closes the network services database file.
Files:
- /etc/services
- Network services database file.
Classification:
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
getservbyname(), getservbyport(), getservent(), servent, setservent()
/etc/services in the Utilities Reference
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
