endprotoent

endprotoent(结束网络协议数据的读取)

相关函数:getprotoent,getprotobyname,getprotobynumber,setprotoent

表头文件:#include <netdb.h>

定义函数:void endprotoent(void);

函数说明:endprotoent()用来关闭由getprotoent()打开的文件。

返回值:

范例:参考getprotoent()