QNX Developer Support
![]() |
![]() |
![]() |
![]() |
endprotoent()
Close the protocol name database file
Synopsis:
#include <netdb.h> void endprotoent( void );
Library:
libsocket
Use the -l socket option to qcc to link against this library.
Description:
The endprotoent() routine closes the protocol name database file.
Files:
- /etc/protocols
- Protocol name database file.
Classification:
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
getprotobyname() getprotobynumber(), getprotoent(), protoent, setprotoent()
/etc/protocols in the Utilities Reference
![]() |
![]() |
![]() |
![]() |

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