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.
在某些情况下,还可以把一般文件或另一个设备的文件描述符映射到内存。
To resolve this, once you create a temporary file atomically, you must always use the file descriptor or file stream you got when you opened the file.
解决这种问题的方法是,一旦自动创建了一个临时文件,就必须始终使用打开该文件时得到的文件描述符或文件流。
These events can be things like timers, signals, data ready for reading on a file descriptor, and so on.
这些事件可以是诸如计时器,信号,文件描述符上预备读取的数据,等等。
Monitoring applications may read event data from deleted monitor files while the file descriptor for the monitor file is still open but may not block for further event occurrences.
在监视器文件的文件描述符仍然打开的情况下,监视应用程序可以从删除的监视器文件读取事件数据,但是不再继续等待事件发生。
Finally, a number refers to the application's file descriptor, which is an integer returned upon opening the file.
最后,数值表示应用程序的文件描述符,这是打开该文件时返回的一个整数。
After you wait for some amount of time, you start over again by repeatedly reading each file descriptor.
在等待一段时间之后,重新开始,重复读取每个文件描述符。
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.
文件描述符是指向打开的文件或设备的整数,并用于执行读取和写入。
The logical file system is also responsible for managing the kernel's open file table and the per process file descriptor information.
逻辑文件系统还负责管理内核的打开文件表和每个进程的文件描述符信息。
This means that the process doesn't know the file has been deleted; it can still read and write to the file descriptor it was granted when the file was opened.
这意味着,进程并不知道文件已经被删除,它仍然可以向打开该文件时提供给它的文件描述符进行读取和写入。
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 层中创建并维护一个文件描述符集和感兴趣的事件。
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。
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。
This system call requires the file descriptor from shm_open and returns a pointer to memory.
这个系统调用需要shm_open返回的文件描述符,它返回指向内存的指针。
The pollset interface can perform best when the file descriptor set is not frequently updated.
在文件描述符集不需要频繁更新的情况下,最适合使用pollset接口。
With dnotify, the file descriptor pins the directory, preventing the backing device to be unmounted, a particular problem with removable media.
而使用 dnotify,文件描述符就固定了目录,妨碍备用设备卸载,这是可移动媒体的一个典型问题。
The next unused file descriptor is returned if the call is successful; otherwise, -1 is returned and errno is set accordingly.
如果调用成功,返回下一个未使用的文件描述符;否则,返回 -1并相应地设置errno。
The stat() function fills a struct stat structure with information about a specific file; if you've got a file descriptor instead of a file name, you can use the fstat() function instead.
stat()函数会将特定文件的相关信息填入struct stat结构中,如果您获得的是文件描述符而不是文件名,那么作为替代,您可以使用fstat() 函数。
You later discovered that lsof shows the file descriptor of a process and the associated file name.
在随后的内容中,您看到了 lsof 可以显示进程的文件描述符和相关的文件名。
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()时复制整个文件描述符集。
Never reopen the file, or use any operations that use the file name as a parameter. Always use the file descriptor or associated stream — or the tmpwatch race issues will cause problems.
永远不要重新打开文件或者使用任何以文件为参数的操作——始终使用文件描述符或者相关的流,否则,tmpwatch竞争将引发一些问题。
There is also an application named ct that is running out of the same directory and has its standard output (file descriptor 1) redirected to a file called output.
还有一个名为ct的应用程序正运行于相同的目录,并且其标准输出(文件描述符1)重定向到一个名为 output 的文件。
Open the SCSI generic device file (such as sg1) to get the file descriptor of SCSI device.
打开SCSI通用设备文件(比如sg1)获取SCSI设备的文件描述符。
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 first parameter fildes is the open file descriptor returned from the function open , referring to a specific device.
第一个参数fildes是函数open返回的文件描述符,用于指称具体设备。
应用推荐