首先,把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.
无法在指定的设备或文件上设置文件指针。
The file pointer cannot be set on the specified device or file.
函数的作用是:返回文件指针当前的读/写的位置。
The ftell() function returns the current position in an open file.
函数的作用是:将文件指针的位置倒回到文件的开头。
The rewind function "rewinds" the position of the file pointer to the beginning of the file.
这类似于在标准c中为文件流创建FILE指针。
This is similar to the file pointer for a file stream in standard C.
列表1.获得文件行指针并初始化返回变量。
Listing 1. Get file row pointer and initialize return variable.
fp是指向文件结构的指针。
这个系统调用需要shm_open返回的文件描述符,它返回指向内存的指针。
This system call requires the file descriptor from shm_open and returns a pointer to memory.
执行fork之后,父进程和子进程获得打开的所有文件描述符和数据值的拷贝,所以指针对于它们都是有效的。
After the fork, the parent and child have copies of all open file descriptors and data values, so the pointer works for both.
我们可以认为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.
指定在运行时刻,当鼠标位于对象的某一特定部分时,用作自定义鼠标指针的光标文件。
Specifies the cursor file as a customized mouse pointer when the mouse is over a particular part of an object at run time.
注意:这些指针的值一般是在文件系统外被设定。
Note that the values for these Pointers are normally set outside of the file system.
清单4中所示的结构由mimeokay函数使用,用来实现以下用途:将全局字符串指针fstr 设置为与文件扩展名fext 相匹配的合适的MIME类型。
The structure in Listing 4 is used by the mimeokay function for one purpose: to set the global string pointer fstr to the appropriate MIME type string matching the file's extension: fext.
集合是一组有关源文档的统计信息及指向源文档的指针,以专有格式存储于文件服务器中。
A collection is a set of statistics and Pointers to the source documents, stored in a proprietary format on a file server.
为了简单起见,如果已经到达了文件的末端,您应该使这个行指针回到开始。
For simplicity, you should have the row pointer always wrap back to the beginning if the end of the file is reached.
指针指向一个用于接收指定文件大图标的句柄数组。
Pointer to an array of icon handles that receives handles to the large ICONS extracted from the file.
指针指向一个用于接收指定文件小图标的句柄数组。
Pointer to an array of icon handles that receives handles to the small ICONS extracted from 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.
指向一个包含文件名的缓冲区指针,这个文件名被用来初始化对话框上编辑控件的文件名。这个缓冲区至少要260个字节长。
Pointer to the buffer that contains the filename used to initialize the filename edit control on the dialog box. The buffer should be at least 260 bytes long.
符号链接是一个指针,指向文件在文件系统中的位置。
A symbolic link is a pointer to a file's location in the file system.
然后就可以使用这个返回的指针来配置这个虚拟文件的其他参数,例如在对该文件执行读操作时应该调用的函数。
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.
文件的目录条目包含到文件的inode 的硬链接(或指针),因此列出的每个条目都应该至少拥有一个硬链接。
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.
有一个指向XML文件的指针:style标签中指定的id用来匹配bind标签中的style属性。
One pointer for the XML file: the id specified in the style tag is used to match the style attribute in the bind tag.
设置智能卡文件对象指针时出现错误。
There was an error trying to set the smart card file object pointer.
使用指向元数据接口的指定指针、指定的文件名以及指定的搜索路径获取当前文件的符号读取器的接口。
Gets the interface of the symbol reader for the current file, using the specified pointer to a metadata interface, the specified file name, and the specified search path.
一个目录条目包含一个文件名或目录名,以及存储有文件或目录相关信息的inode的指针。
A directory entry contains a name for a file or directory and a pointer to the inode where the information about the file or directory is stored.
这里要用到三个参数:上下文指针、可信任库文件的路径和文件名,以及证书所在目录的路径。
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.
这里要用到三个参数:上下文指针、可信任库文件的路径和文件名,以及证书所在目录的路径。
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.
应用推荐