摘要:
内容来源:http://pubs.opengroup.org/onlinepubs/9699919799/functions/dirfd.html 1.dirfd 头文件:#include <dirent.h> 原型:int dirfd(DIR *dirp) 功能:返回参数dirp所指向的目录文件的 阅读全文
posted @ 2018-07-28 17:02
葫芦baby
阅读(1136)
评论(0)
推荐(0)
摘要:
1.strchr 头文件:#include <string.h> 原型:extern char *strchr(const char *s,char c) 功能:查找字符串s中首次出现字符c的位置 返回值:成功则返回要查找字符第一次出现的位置,如果s中不存在字符c则返回NULL 2.strncase 阅读全文
posted @ 2018-07-28 16:23
葫芦baby
阅读(317)
评论(0)
推荐(0)
摘要:
原文地址:https://blog.csdn.net/sin0803/article/details/37539313 1.包含头文件 #include <dirent.h> 2.struct dirent结构 3.DIR结构 4.例子 阅读全文
posted @ 2018-07-28 16:01
葫芦baby
阅读(10617)
评论(0)
推荐(1)
浙公网安备 33010602011771号