摘要: <dirent.h>是POSIX.1标准定义的unix类目录操作的头文件,包含了许多UNIX系统服务的函数原型,例如opendir函数、readdir函数。 opendir函数: DIR *opendir(const char *pathname);返回值:若成功则返回指针,若出错则返回NULL。 阅读全文
posted @ 2018-02-27 20:22 子非木 阅读(1638) 评论(0) 推荐(0) 编辑