Read the bytes with the file descriptor.
使用文件描述符读取字节。
Fd is the file descriptor of the device file.
fd是设备文件的文件描述符。
The file descriptor object for this socket.
此套接字的文件描述符对象。
The file descriptor is used as the device handle.
文件描述符用作设备句柄。
The file descriptor is merely an identifier for the process.
文件描述符只不过是进程的标识符。
Then, open the device driver and get the file descriptor.
然后打开设备驱动器并获取文件描述符。
If False, the file descriptor is kept after the file is closed.
如果是False,此文件描述符会在文件关闭后保留。
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返回的文件描述符,它返回指向内存的指针。
It maintains the file descriptor state on the requested file descriptor set across system calls.
它跨系统调用在请求的文件描述符集上维护文件描述符状态。
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接口。
By using leasing on the file descriptor, you take a lease with the kernel on a particular file.
通过对文件描述符执行租借,可以同内核就某个特定文件达成租约。
You later discovered that lsof shows the file descriptor of a process and the associated file name.
在随后的内容中,您看到了 lsof 可以显示进程的文件描述符和相关的文件名。
The file descriptor used by inotify is obtained using a system call and does not have an associated device or file.
Inotify 所使用的文件描述符可以通过系统调用获得,并且没有相关设备或者文件。
The file descriptor returned by a successful call will be the lowest-numbered file descriptor not currently open for the process.
调用成功将返回文件描述符,它是进程尚未打开的序号最小的文件描述符。
It also decreases the likelihood that a maintainer will insecurely use the file name (they need to use the file descriptor instead).
它还降低了维护者不安全地使用文件名的可能性(改为使用文件描述符)。
With dnotify, the file descriptor pins the directory, preventing the backing device to be unmounted, a particular problem with removable media.
而使用 dnotify,文件描述符就固定了目录,妨碍备用设备卸载,这是可移动媒体的一个典型问题。
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.
解决这种问题的方法是,一旦自动创建了一个临时文件,就必须始终使用打开该文件时得到的文件描述符或文件流。
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.
这意味着,进程并不知道文件已经被删除,它仍然可以向打开该文件时提供给它的文件描述符进行读取和写入。
Certain dependencies (Linux file open, read, write, close concepts; using the file descriptor and the modes that the file can be opened in; basic Python structure concepts).
一定的依赖关系(Linux文件打开、读取、写入以及关闭的概念;使用文件描述符和可以用来打开文件的模式;基本的Python结构的概念)。
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.
在监视器文件的文件描述符仍然打开的情况下,监视应用程序可以从删除的监视器文件读取事件数据,但是不再继续等待事件发生。
To read the bytes using the file descriptor obtained in the previous function call, I use the following code. It reads the indicated number of bytes from the file parameter passed.
使用文件描述符读取在之前的功能函数中获得的字节,我使用以下代码。
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竞争将引发一些问题。
The BPEL file and the deployment descriptor for the merged production workflow are included in this article's source code (see Download).
合并的生产工作流程的BPEL文件和部署描述符都包含在本文的源代码中(参见下载)。
The BAR file contains the deployment descriptor, compiled message flows, and message set definitions.
BAR文件包含部署描述符、已编译的消息流和消息集定义。
These descriptions can be provided through annotations in the code or in an XML descriptor file (the entity schema descriptor).
这些描述可通过代码中的注释或XML描述符文件(实体模式描述符)提供。
Finally, a number refers to the application's file descriptor, which is an integer returned upon opening the file.
最后,数值表示应用程序的文件描述符,这是打开该文件时返回的一个整数。
Finally, a number refers to the application's file descriptor, which is an integer returned upon opening the file.
最后,数值表示应用程序的文件描述符,这是打开该文件时返回的一个整数。
应用推荐