file descriptor中文,file descriptor的意思,file descriptor翻译及用法

2025-09-07 04:13 浏览次数 9

file descriptor

英[fail disˈkriptə]美[faɪl dɪˈskrɪptɚ]

文件描述符;文件说明符

file descriptor 例句

英汉例句

  • the pollset interface creates and maintains a file descriptor set and its interested events in the native (kernel) pollset layer.

    pollset接口在本机(内核)pollset层中创建并维护一个文件描述符集和感兴趣的事件。

  • 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竞争将引发一些问题。

  • polling an object involves first establishing a hold count on the file descriptor and then calling through the select fileop associated with the file descriptor.

    poll一个对象需要两步:首先在文件描述符上建立一个持有计数,然后调用与这个文件描述符相关联的操作。

  • 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.

    在监视器文件的文件描述符仍然打开的情况下,监视应用程序可以从删除的监视器文件读取事件数据,但是不再继续等待事件发生。

  • the logical file system is also responsible for managing the kernel「s open file table and the per process file descriptor information.

    逻辑文件系统还负责管理内核的打开文件表和每个进程的文件描述符信息。

  • because of this, pseudo has to intercept fopen(3) and use fileno(3) on the resulting file * in order to find out the file descriptor (if any) associated with a given name.

    由于这个原因,pseudo 必须拦截fopen(3)并对生成的文件使用file *,以找出与给定名称相关联的文件描述符(如果有的话)。

  • when the state of a file descriptor changes, the subsystem notifies the pollcache, which triggers a state transition in the pollcache.

    当文件描述符的状态发生变化时,子系统通知poll 缓存,这会在poll 缓存中触发状态转换。

  • 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 is merely an identifier for the process.

    文件描述符只不过是进程的标识符。

  • this happens if more than one file descriptor refers to an opened file due to dup(), dup2(), or fork() calls.

    如果由于调用了dup()、dup2()或fork() 而产生多个文件描述符指向一个打开文件的情况,就可能会需要这种用法。

  • the first parameter fildes is the open file descriptor returned from the function open(), referring to a specific device.

    第一个参数fildes是函数open()返回的文件描述符,用于指称具体设备。

  • in some cases, you can also map a file descriptor to a plain file or another device into memory.

    在某些情况下,还可以把一般文件或另一个设备的文件描述符映射到内存。

  • it maintains the file descriptor state on the requested file descriptor set across system calls.

    它跨系统调用在请求的文件描述符集上维护文件描述符状态。

  • when dealing with multiple file descriptors, an application typically sets each file descriptor as non-blocking (as shown in listing 1) and issues a read on one file descriptor at a time.

    在处理多个文件描述符时,应用程序通常把每个文件描述符设置为非阻塞(见 清单1),每次对一个文件描述符执行read 调用。

  • 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对象,它由进程的文件描述符列表引用。

  • the file descriptor is used as the device handle.

    文件描述符用作设备句柄。

  • 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

  • each process reads from the same file descriptor (which is just a text file with the numbers 1 through 7), printing what was read along with the pid.

    每个进程从同一文件描述符(它只是一个包含数字1至7 的文本文件)执行读取操作,并连同pid 一起打印所读取的内容。

相关热词