清单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.
在写作的那一刻,您将使用试图将文件指针移动到正确的位置,不会有错误的重叠。
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.
应用推荐