![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Close the protocol name database file
#include <netdb.h> void endprotoent( void );
libsocket
Use the -l socket option to qcc to link against this library.
The endprotoent() routine closes the protocol name database file.
| Safety: | |
|---|---|
| Cancellation point | Yes | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
getprotobyname() getprotobynumber(), getprotoent(), protoent, setprotoent()
/etc/protocols in the Utilities Reference
![]()  | 
![]()  | 
![]()  | 
![]()  |