This is similar to the file pointer for a file stream in standard C.
这类似于在标准c中为文件流创建FILE指针。
The file pointer cannot be set on the specified device or file.
无法在指定的设备或文件上设置文件指针。
Open for writing only; place the file pointer at the end of the file.
打开只写;放置在文件的末尾文件指针。
Open for reading only; place the file pointer at the beginning of the file.
以只读方式打开,放置在文件开头的文件指针。
Open for reading and writing; place the file pointer at the end of the file.
打开阅读和写作,在文件结尾处的文件指针。
Checking if the file pointer has reached EOF without moving the file pointer?
检查,如果文件指针达到EOF没有文件指针移动?
Note: After a call to this function the file pointer moves to the next character.
注意:这个函数被请求之后,它会自动跳到下一个字符。
Open for reading and writing; place the file pointer at the beginning of the file.
打开阅读和写作,在文件的开始位置文件指针。
This script begins by opening the connection to the Arduino in a file pointer for reading.
脚本首先在一个文件指针内打开对Arduino的连接,以便读取它。
Create and open for writing only; place the file pointer at the beginning of the file.
创建并打开只写,放置在文件的开头文件指针。
The rewind function "rewinds" the position of the file pointer to the beginning of the file.
函数的作用是:将文件指针的位置倒回到文件的开头。
Create and open for reading and writing; place the file pointer at the beginning of the file.
创建并打开阅读和写作,放置在文件的开头文件指针。
Open for writing only; place the file pointer at the beginning of the file and truncate the file to zero length.
打开只写;放置在该文件的开头文件指针并截断该文件的长度为零。
The output of Listing 5 shows that as one process reads from the file, and the file pointer is moved for both processes.
清单5的输出表明,当一个进程从该文件读取时,两个进程的文件指针都在移动。
Open for reading and writing; place the file pointer at the beginning of the file and truncate the file to zero length.
打开阅读和写作,放置在文件的开头文件指针并截断该文件的长度为零。
The other option is to load a copy of the original file into buffer and place the file pointer at the intended position.
另一个选择是在预定位置的原始文件的副本到缓冲区,将文件指针的方法负载。
This function moves the file pointer from its current position to a new position, forward or backward, specified by the number of bytes.
整个函数将文件指针从当前位置向前或向后移动移动到一个新的位置。
As in the moment of writing, you will use seek to move the file pointer into the correct position, there will be no errors of overlapping.
在写作的那一刻,您将使用试图将文件指针移动到正确的位置,不会有错误的重叠。
First you write the contents of the mydata list to the file, then you reposition the file pointer to the start of the file and read the contents.
首先,把mydata list的内容写入文件,然后把文件指针重新定位到文件开头,并读入内容。
In this code, you start by declaring a file pointer to standard input so that you can get interactive information from the keyboard during the spell-check process.
在这段代码中,您首先要为标准输入声明一个文件指针,以便您能够在拼写检查过程中从键盘获得交互式信息。
The iocb argument can usually be treated as an opaque cookie used by the AIO subsystem; if you need the struct file pointer for this file descriptor, however, you can find it as iocb->ki_filp.
通常可以把iocb看作AIO子系统使用的不透明数据结构。然而,如果需要文件描述符的structfile指针,可以通过iocb->ki_flip获取。
These functions must be called after the stream has been opened(obviously, since each requires a valid file pointer as its first argument) but before any other operation is performed on the stream.
这些函数必须在流打开后被调用(很明显,因为每个函数都需要一个有效的文件指针作为它的第一个参数),但是在对流有任何操作之前。
This takes three parameters: the context pointer, the path and the filename of the trust store file, and a path to a directory of certificates.
这里要用到三个参数:上下文指针、可信任库文件的路径和文件名,以及证书所在目录的路径。
You can then use the return pointer to configure other aspects of the virtual file, such as the function to call when a read is performed on the file.
然后就可以使用这个返回的指针来配置这个虚拟文件的其他参数,例如在对该文件执行读操作时应该调用的函数。
If this happens, hover the mouse pointer over the red circle to display the error message, make the needed correction, and save the file again.
如果出现了此情况,请将鼠标指针悬停在红色圆圈上方以显示错误消息,然后进行必要的更正并再次保存文件。
Gets the current file row pointer, stored as an object but used as an integer, from the global variable in the data area for the test engine (this will be set up later).
从测试引擎(稍后就会安装它)数据区域中的全局变量获取当前最为结果储存但是当作整数使用的文件行指针。
Listing 1. Get file row pointer and initialize return variable.
列表1.获得文件行指针并初始化返回变量。
You can think of userdata as an array of bytes — bytes that might represent a pointer, a structure, or a file in the host application.
我们可以认为userdata就是一个字节数组——字节可以表示指针、结构或宿主应用程序中的文件。
After the fork, the parent and child have copies of all open file descriptors and data values, so the pointer works for both.
执行fork之后,父进程和子进程获得打开的所有文件描述符和数据值的拷贝,所以指针对于它们都是有效的。
The file's directory entry contains a hard link (or pointer) to the inode for the file, so every entry listed should have at least one hard link.
文件的目录条目包含到文件的inode 的硬链接(或指针),因此列出的每个条目都应该至少拥有一个硬链接。
应用推荐