The final file descriptor is write-only and refers to /var/run/sendmail.pid.
最后一个文件描述符是只写的,并且指向 /var/run/sendmail.pid。
fd is the file descriptor, a pointer to the file. For this example, use the following
fd是文件描述符,是指向文件的一个指针。
Open the SCSI generic device file (such as sg1) to get the file descriptor of SCSI device.
打开SCSI通用设备文件(比如sg1)获取SCSI设备的文件描述符。
This system call requires the file descriptor from shm_open and returns a pointer to memory.
这个系统调用需要shm_open返回的文件描述符,它返回指向内存的指针。
At the top is the open file object, which is referenced by a process's file descriptor list.
在顶层是打开的file对象,它由进程的文件描述符列表引用。
You can then continue to access it within your program by passing around the file descriptor.
于是,您就可以在自己的程序中通过传送文件描述符来访问该文件。
The pollset interface can perform best when the file descriptor set is not frequently updated.
在文件描述符集不需要频繁更新的情况下,最适合使用pollset接口。
You should never see any output from STDOUT (file descriptor 1) or STDERR (file descriptor 2).
您应该不会看到任何来自STDOUT(文件描述符1)或者STDERR(文件描述符2)的输出。
By using leasing on the file descriptor, you take a lease with the kernel on a particular file.
通过对文件描述符执行租借,可以同内核就某个特定文件达成租约。
It maintains the file descriptor state on the requested file descriptor set across system calls.
它跨系统调用在请求的文件描述符集上维护文件描述符状态。
In some cases, you can also map a file descriptor to a plain file or another device into memory.
在某些情况下,还可以把一般文件或另一个设备的文件描述符映射到内存。
shm_unlink(): Deletes a shared memory region given a file descriptor (returned from shm_open()).
shm_unlink():根据(shm_open()返回的)文件描述符,删除共享内存段。
You later discovered that lsof shows the file descriptor of a process and the associated file name.
在随后的内容中,您看到了 lsof 可以显示进程的文件描述符和相关的文件名。
These events can be things like timers, signals, data ready for reading on a file descriptor, and so on.
这些事件可以是诸如计时器,信号,文件描述符上预备读取的数据,等等。
After you wait for some amount of time, you start over again by repeatedly reading each file descriptor.
在等待一段时间之后,重新开始,重复读取每个文件描述符。
For every open() call, there will be exactly one release() call with the same flags and file descriptor.
对于每个open()调用来说,都必须有一个使用完全相同标记和文件描述符的release() 调用。
Is the system call that creates an inotify instance and returns a file descriptor referring to the instance.
是用于创建一个inotify实例的系统调用,并返回一个指向该实例的文件描述符。
After user foo logs in to AIX, run the limit command to verify that his file descriptor limit is set to 1000.
在用户foo登录aix之后,运行ulimit命令以验证他的文件描述符限制是否设置为1000。
A file descriptor is an integer that refers to an open file or device, and it is used for reading and writing.
文件描述符是指向打开的文件或设备的整数,并用于执行读取和写入。
After user foo logs in to AIX, run the ulimit command to verify that his file descriptor limit is set to 1500.
在用户foo登录到AIX中之后,运行ulimit命令,以验证他的文件描述符限制是否设置为1500。
Finally, a number refers to the application's file descriptor, which is an integer returned upon opening the file.
最后,数值表示应用程序的文件描述符,这是打开该文件时返回的一个整数。
The file descriptor used by inotify is obtained using a system call and does not have an associated device or file.
Inotify 所使用的文件描述符可以通过系统调用获得,并且没有相关设备或者文件。
Take, for example, the read function call, which allows some number of bytes to be read from a given file descriptor.
例如,read函数调用可以从指定的文件描述符读取一定数量的字节。
The first parameter fildes is the open file descriptor returned from the function open , referring to a specific device.
第一个参数fildes是函数open返回的文件描述符,用于指称具体设备。
The next unused file descriptor is returned if the call is successful; otherwise, -1 is returned and errno is set accordingly.
如果调用成功,返回下一个未使用的文件描述符;否则,返回 -1并相应地设置errno。
The file descriptor returned by a successful call will be the lowest-numbered file descriptor not currently open for the process.
调用成功将返回文件描述符,它是进程尚未打开的序号最小的文件描述符。
The pollset interface creates and maintains a file descriptor set and its interested events in the native (kernel) pollset layer.
pollset接口在本机(内核)pollset 层中创建并维护一个文件描述符集和感兴趣的事件。
It also decreases the likelihood that a maintainer will insecurely use the file name (they need to use the file descriptor instead).
它还降低了维护者不安全地使用文件名的可能性(改为使用文件描述符)。
The logical file system is also responsible for managing the kernel's open file table and the per process file descriptor information.
逻辑文件系统还负责管理内核的打开文件表和每个进程的文件描述符信息。
Unlike poll(), the pollset interface does not require the selector to copy the entire file descriptor set each time when select() is called.
与poll() 不同,pollset接口并不要求选择器在每次调用 select()时复制整个文件描述符集。
应用推荐