• 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,并且errno为0(有时也称为EOK或ENOERROR),则表示没有其他的目录条目。

    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.

    类似地,readdir和filetype允许您不必了解真实的、底层操作和文件系统的圈套和陷阱。

    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.

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

    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.

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

    youdao

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

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

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