这个系统调用返回一个文件描述符。
文件描述符只不过是进程的标识符。
The file descriptor is merely an identifier for the process.
使用的系统文件描述符明显减少。
fd是设备文件的文件描述符。
文件描述符是低层的输入和输出接口。
File descriptors are low-level interfaces to input and output.
然后打开设备驱动器并获取文件描述符。
使用文件描述符读取字节。
文件描述符用作设备句柄。
与磁盘密切相关的是可以打开的文件描述符数量。
Closely related to disk is the number of file descriptors that can be open.
fd是文件描述符,是指向文件的一个指针。
fd is the file descriptor, a pointer to the file. For this example, use the following
请记住,文件描述符包括诸如套接字之类的内容。
这里不需要让每个代理维护它自己的文件描述符表。
There is no need to have each agent maintain its own file descriptor table.
poll 缓存管理一个可能很大的文件描述符集。
The pollcache manages a potentially large set of file descriptors.
当一个文件描述符上数据准备好时,它无法立即响应。
It cannot respond to a file descriptor immediately when the data becomes ready.
连接器不应对文件系统或文件描述符进行直接访问。
Connectors should not access the filesystem or file descriptors directly.
它们可以完成与打开的文件描述符相关联的控制功能。
They perform control functions associated with open file descriptors.
您可能还知道,标准输出(屏幕)也是一个文件描述符。
You might also know that the standard output (the screen) is a file descriptor, too.
如果是False,此文件描述符会在文件关闭后保留。
If False, the file descriptor is kept after the file is closed.
要做到这一点,每个应用程序都要打开相同的文件描述符。
To do this, each application opens the same file descriptor.
在等待一段时间之后,重新开始,重复读取每个文件描述符。
After you wait for some amount of time, you start over again by repeatedly reading each file descriptor.
它跨系统调用在请求的文件描述符集上维护文件描述符状态。
It maintains the file descriptor state on the requested file descriptor set across system calls.
在顶层是打开的file对象,它由进程的文件描述符列表引用。
At the top is the open file object, which is referenced by a process's file descriptor list.
关闭文件描述符或closefd可以是True或False。
The close file descriptor, or closefd, can be True or False.
于是,您就可以在自己的程序中通过传送文件描述符来访问该文件。
You can then continue to access it within your program by passing around the file descriptor.
当某个进程复制它自身时,内核生成所有打开的文件描述符的副本。
When a process duplicates itself, the kernel makes a copy of all open file descriptors.
通过对文件描述符执行租借,可以同内核就某个特定文件达成租约。
By using leasing on the file descriptor, you take a lease with the kernel on a particular file.
文件描述符是指向打开的文件或设备的整数,并用于执行读取和写入。
A file descriptor is an integer that refers to an open file or device, and it is used for reading and writing.
这些事件可以是诸如计时器,信号,文件描述符上预备读取的数据,等等。
These events can be things like timers, signals, data ready for reading on a file descriptor, and so on.
在某些情况下,还可以把一般文件或另一个设备的文件描述符映射到内存。
In some cases, you can also map a file descriptor to a plain file or another device into memory.
逻辑文件系统还负责管理内核的打开文件表和每个进程的文件描述符信息。
The logical file system is also responsible for managing the kernel's open file table and the per process file descriptor information.
应用推荐