使用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};     //把目錄路徑存放在字符
相關文章
相關標籤/搜索