网络 关闭已开启的档案; 关闭已打开的文件; 关闭文件
The fclose function closes an open file.
函数的作用是:关闭文件。
The semantics of fopen require a complementary fclose.
fopen 的语义需要补充性的 fclose。
The fgets, fgetss, fread, fscanf, and fclose functions also return False on error.
fscanf 和 fclose 函数在出错时也返回 False。
Of course, with the exception of fclose, you are likely already processing the return values on these.
当然,除 fclose 以外,您可能已经对这些函数的返回值都进行了处理。
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的连接。