nftw专题

APUE-文件和目录(六)函数ftw和nftw

名字 ftw,nftw - 文件树遍历 概要 #include <ftw.h>int nftw(const char *dirpath,int (*fn) (const char *fpath, const struct stat *sb,int typeflag, struct FTW *ftwbuf),int nopenfd, int flags);#include <ftw.h>in