摘要:
内容来源:http://pubs.opengroup.org/onlinepubs/9699919799/functions/dirfd.html 1.dirfd 头文件:#include <dirent.h> 原型:int dirfd(DIR *dirp) 功能:返回参数dirp所指向的目录文件的 阅读全文
摘要:
1.strchr 头文件:#include <string.h> 原型:extern char *strchr(const char *s,char c) 功能:查找字符串s中首次出现字符c的位置 返回值:成功则返回要查找字符第一次出现的位置,如果s中不存在字符c则返回NULL 2.strncase 阅读全文
摘要:
原文地址:https://blog.csdn.net/sin0803/article/details/37539313 1.包含头文件 #include <dirent.h> 2.struct dirent结构 3.DIR结构 4.例子 阅读全文