• This operation is the opendir(), readdir(), ..., closedir() sequence in one call.

    这个操作实际上调用中执行opendir()、readdir()、...、closedir()序列

    youdao

  • Unlike the struct dirent that readdir() returns, struct stat has quite a few standard, required members

    readdir()返回structdirent 不同,structstat具有相当多的标准的、必需成员

    youdao

  • Thee opendir function initializes things so that the first readdir reads the first entry in the directory.

    opendir函数初始化数据,因此第一readdir函数读出到目录内的第一个entry。

    youdao

  • If readdir returns NULL and errno is 0 (sometimes called EOK or ENOERROR), there are no more directory entries.

    如果readdir返回NULL并且errno0(有时也称为EOKENOERROR),则表示没有其他的目录条目。

    youdao

  • Note that readdir is not thread-safe, because the returned structure is a static variable stored in the function library.

    注意readdir不是线程安全的,因为返回结构存储函数库中的一个静态变量

    youdao

  • The opendir() and readdir() functions both return NULL if a problem occurs and the errno global variable is set to indicate what went wrong.

    出现问题时,opendir()readdir()函数都会返回NULL,并且设置全局变量 errno 的值,指出出现的错误。

    youdao

  • The top chunk contains the standard bits that most programs use, and the last four are required to use readdir() and stat() in this program.

    程序开始中包含大多数程序中使用标准部分,并且后面的程序中使用readdir()stat()所必需的。

    youdao

  • Similarly, readdir and filetype allow you to remain blissfully ignorant of the machinations and trappings of the real, underlying operating and file systems.

    类似地readdirfiletype允许不必了解真实底层操作文件系统圈套和陷阱

    youdao

  • Now that you've read about using readdir and stat to find out about the entries of the directory, let's look at some code that demonstrates these functions in action.

    既然已经学习了如何使用readdirstat查找目录中的条目,那么我们来看看演示这些函数的一些实际代码

    youdao

  • Now that you've read about using readdir and stat to find out about the entries of the directory, let's look at some code that demonstrates these functions in action.

    既然已经学习了如何使用readdirstat查找目录中的条目,那么我们来看看演示这些函数的一些实际代码

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定