Closes the /etc/protocols file.
Standard C Library (libc.a)
void endprotoent_r(proto_data);
struct protoent_data *proto_data;
The endprotoent_r subroutine closes the /etc/protocols file, which is opened by the calls made to the getprotoent_r subroutine, getprotobyname_r subroutine, or getprotobynumber_r subroutine.
Item | Description |
---|---|
proto_data | Points to the protoent_data structure |
Item | Description |
---|---|
/etc/protocols | Contains protocol names. |