《Linux函数调用手册》之___
ntohl
将32位网络字符顺序转换成主机字符顺序
定义:
unsigned long int ntohl(unsigned long int netlong);
表头文件:
#include<netinet/in.h>
说明:
ntohl()用来将参数指定的32位netlong转换成主机字符顺序。
返回值:
返回对应的主机字符顺序。
相关函数:
htonl, htons, ntohs
示例:
参考getservent()。
返回顶部
|
《Linux函数调用大全》
|
《Linux命令大全》
|
Linux专栏