Thee fopen function opens a specified file.
fopen函数打开一个指定的文件。
The semantics of fopen require a complementary fclose.
fopen的语义需要补充性的fclose。
But remember that fopen only works with sequential datasets.
但是要记住,fopen只适用于序列化数据集。
Processing the return value of fopen is simpler and more accurate.
处理fopen的返回值更简单并且更准确。
Note: the "r" used in fopen indicates that the file is open for reading only.
注:fopen中使用的“r ”将指示文件以只读方式打开。
The TIFFOpen function is very similar to the fopen function you are familiar with.
tiffopen函数与您熟悉的fopen函数非常相似。
I need to have ability to "fopen" a file, which URL is pointing to SVN server.
我需要有“打开文件”文件的能力,该URL指向SVN服务器。
As with fopen, file_get_contents, file, and readfile, all return False on failure to open or process the file.
如fopen函数一样,file_get _ contents、file和readfile函数都在打开失败或处理文件失败时返回False。
An example of a library function that does have an associated system call is the fopen function declared in stdio.h.
有相关系统调用的库函数的一个示例是stdio . h中声明的fopen函数。
Because fopen returns False on failure, this will ensure that file processing happens only if the file opens successfully.
由于失败时fopen将返回False,这将确保仅当文件成功打开后才执行文件处理。
For example, if you call fopen (3), there may be no point at which any of the open (2) variants in the library get called.
例如,如果调用fopen(3),可能在库中没有任何入口点来调用open(2)的变体。
Skipping ahead to the end of Listing 1, fclose serves the opposite function of fopen: it closes the connection to the file or URL.
向前跳至清单1的末尾,fclose将实现与fopen相反的功能:它将关闭指向文件或URL的连接。
It shows appropriate use of some system calls and library functions from c, including fopen, fclose, access, setvbuf, perror, strerror, and popen.
它演示了对一些系统调用和c库函数的适当使用,其中包括fopen、fclose、access、setvbuf、perror、strerror和popen。
For any of these methods, you go through the standard process of using fopen to open the file, a function to read the data, then fclose to close the file, as shown in Listing 1.
对于这些方法中的任何一种,通过使用fopen(用于读取数据的函数)的标准方法打开文件,然后使用fclose关闭文件,如清单1所示。
This function is a high-level way of opening a file; but, since the only way to open a file in Linux is to use the open system call, fopen makes use of open in its implementation.
该函数是打开文件的高层次方式;但是,因为在Linux中打开文件的唯一方法是使用open系统调用,所以fopen在其实现中利用open 。
GUD electric high vacuum (pressure) ball valve USES electric device to drive the stem ball fopen close, thus to put through cut off the medium flow in vacuum (pressure) pipeline.
GUD型电动高真空(压力)球阀是以电动装置驱动阀杆与球芯来执行启闭动作,达到接通或切断真空(压力)系统管路中的介质流。
It is needed for the file opening, closing, reading, and writing functions (fopen , fclose , fgets , getc , and so on), for the printf family of functions, and for the setvbuf function.
文件的打开、关闭、读和写函数(fopen 、fclose 、fgets 、getc等等)、printf函数系列和setvbuf函数都需要它。
VTLEBF01 electric high vacuum (pressure) ball valve USES electric device to drive the stem ball fopen close, thus to put through cut off the medium flow in vacuum (pressure) pipeline.
VTLEBF01型电动高真空(压力)球阀是以电动装置驱动阀杆与球芯来执行启闭动作,达到接通或切断真空(压力)系统管路中的介质流。
VTLEBF01 electric high vacuum (pressure) ball valve USES electric device to drive the stem ball fopen close, thus to put through cut off the medium flow in vacuum (pressure) pipeline.
VTLEBF01型电动高真空(压力)球阀是以电动装置驱动阀杆与球芯来执行启闭动作,达到接通或切断真空(压力)系统管路中的介质流。
应用推荐