readdir DIRHANDLE 读取目录
This operation is the opendir(), readdir(), ..., closedir() sequence in one call.
这个操作实际上是在一次调用中执行 opendir()、readdir()、...、closedir() 序列。
Unlike the struct dirent that readdir() returns, struct stat has quite a few standard, required members
与 readdir() 返回的 struct dirent 不同,struct stat 具有相当多的标准的、必需的成员
Thee opendir function initializes things so that the first readdir reads the first entry in the directory.
opendir函数初始化数据,因此第一个readdir函数读出到目录内的第一个entry。
应用推荐