For example, many UNIXes include a d_type member and some additional constants that let you check a directory entry's type without making an additional stat() call. 例如,许多UNIX包含一个dtype成员和一些附加常量,这样一来,您无需额外的stat()调用就可以检查目录条目的类型。
If you run Linux ( or most other UNIXes) on a desktop or laptop computer, that system may be powered down from time to time. 如果在台式机或笔记本电脑中运行Linux(或大多数其他UNIX系统),那么可能会经常关闭系统。
The cpio file format ( now supported as a Fedora Core initrd image format) has a long history and operates on a wide range of UNIXes. cpio文件格式(现在可以用作FedoraCore的一种initrd映像格式)具有很长的历史,可以在很多UNIX系统上使用。
Most modern UNIXes have a thread-safe readdir_r() that you can use instead if you're writing threaded code. 大多数现代的UNIX系统都具有线程安全的readdirr(),如果您正在编写线程代码,可以使用这个函数作为替代。
The stat() function is notoriously slow on most UNIXes. 众所周知,在大多数UNIX上,stat()函数的执行速度非常慢。