
Gcc
会编程的大白熊
专长:
超过10年的PYTHON开发经验
精通PHP、go、rust 语言
展开
-
scandir读取特定的目录数据
转载请保留: http://www.cnscn.org(CNS电脑与英语学习网)相关函数:opendir, readdir, alphasort表头文件:#include 定义函数:int scandir(const char *dir, struct dirent **namelist, nt (*select) (const struct dirent *), nt (*compar转载 2007-10-05 15:28:00 · 4306 阅读 · 1 评论 -
gethostbyaddr由IP地址取得网络数据
转载请保留: http://www.cnscn.org(CNS电脑与英语学习网)相关函数:gethostbyname表头文件:#inlcude 函数定义:struct hostent *gethostbyaddr(const char *addr, int len, int type)函数说明:gethostbyaddr()会返回一个hostent结构,参数addr可以为IPv4或IPv6的转载 2007-10-08 09:51:00 · 1186 阅读 · 0 评论