打开只写;放置在文件的末尾文件指针。
Open for writing only; place the file pointer at the end of the file.
无法在指定的设备或文件上设置文件指针。
The file pointer cannot be set on the specified device or file.
打开阅读和写作,在文件结尾处的文件指针。
Open for reading and writing; 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 beginning of the file.
创建并打开只写,放置在文件的开头文件指针。
Create and open for writing only; place the file pointer at the beginning of the file.
检查,如果文件指针达到EOF没有文件指针移动?
Checking if the file pointer has reached EOF without moving the file pointer?
函数的作用是:返回文件指针当前的读/写的位置。
The ftell() function returns the current position in an open file.
创建并打开阅读和写作,放置在文件的开头文件指针。
Create and open for reading and writing; 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.
脚本首先在一个文件指针内打开对Arduino的连接,以便读取它。
This script begins by opening the connection to the Arduino in a file pointer for reading.
打开只写;放置在该文件的开头文件指针并截断该文件的长度为零。
Open for writing only; place the file pointer at the beginning of the file and truncate the file to zero length.
清单5的输出表明,当一个进程从该文件读取时,两个进程的文件指针都在移动。
The output of Listing 5 shows that as one process reads from the file, and the file pointer is moved for both processes.
整个函数将文件指针从当前位置向前或向后移动移动到一个新的位置。
This function moves the file pointer from its current position to a new position, forward or backward, specified by the number of bytes.
打开阅读和写作,放置在文件的开头文件指针并截断该文件的长度为零。
Open for reading and writing; place the file pointer at the beginning of the file and truncate the file to zero length.
我知道读了之后,文件指针会指向下一行,关键是我要把读过的删除掉。
我知道读了之后,文件指针会指向下一行,关键是我要把读过的删除掉。
You can delete the whole file after reading. or see "sed" how to delete some lines from file.
另一个选择是在预定位置的原始文件的副本到缓冲区,将文件指针的方法负载。
The other option is to load a copy of the original file into buffer and place the file pointer at the intended position.
在写作的那一刻,您将使用试图将文件指针移动到正确的位置,不会有错误的重叠。
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.
首先,把mydata list的内容写入文件,然后把文件指针重新定位到文件开头,并读入内容。
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.
在这段代码中,您首先要为标准输入声明一个文件指针,以便您能够在拼写检查过程中从键盘获得交互式信息。
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.
这些函数必须在流打开后被调用(很明显,因为每个函数都需要一个有效的文件指针作为它的第一个参数),但是在对流有任何操作之前。
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.
为了简单起见,如果已经到达了文件的末端,您应该使这个行指针回到开始。
For simplicity, you should have the row pointer always wrap back to the beginning if the end of the file is reached.
这类似于在标准c中为文件流创建FILE指针。
This is similar to the file pointer for a file stream in standard C.
然后就可以使用这个返回的指针来配置这个虚拟文件的其他参数,例如在对该文件执行读操作时应该调用的函数。
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.
符号链接是一个指针,指向文件在文件系统中的位置。
A symbolic link is a pointer to a file's location in the file system.
从测试引擎(稍后就会安装它)数据区域中的全局变量获取当前最为结果储存但是当作整数使用的文件行指针。
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).
列表1.获得文件行指针并初始化返回变量。
Listing 1. Get file row pointer and initialize return variable.
通常可以把iocb看作AIO子系统使用的不透明数据结构。然而,如果需要文件描述符的structfile指针,可以通过iocb->ki_flip获取。
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.
我们可以认为userdata就是一个字节数组——字节可以表示指针、结构或宿主应用程序中的文件。
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.
应用推荐