使用linux c 目录操做函数,读取任一目录下的全部目录信息文件信息

# include <stdio.h> # include <string.h> # include <stdlib.h> # include <unistd.h> # include <dirent.h> # include <sys/types.h> int re_readdir(char name[]) {     char str[1000] = {0};     //把目录路径存放在字符
相关文章
相关标签/搜索