摘要:
#include <sys/types.h> #include <dirent.h> #include <sys/stat.h> void do_search_dir(char *path) { DIR *dir; char fullpath[1024],currfile[1024]; struct dirent *s_dir; struct stat file_stat; strcpy(fullpath,path); dir=opendir(fullpath); while ((s_dir=readdir(dir))!... 阅读全文
posted @ 2012-03-20 20:57 网名还没想好 阅读(262) 评论(0) 推荐(0) 编辑