fclose

[fk'ləʊs]
  • fclose
  • 释义

    [计]= File ClOSE,文件关闭;关闭文件;关闭流;关闭文件流;关闭一个文件

纠错 数据更新时间:2026-04-18 09:10:41
1、

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()函数都需要它。

互联网摘选

2、

With fclose, there is little to do if the file handle does not close properly, so checking the return value for fclose is generally unnecessary.

使用fclose时,即使文件处理未正常关闭,也不会执行什么操作,因此通常不必检查fclose的返回值。

互联网摘选

3、

While the C standard doesn't specify what happens without the fclose(), it's likely to leak memory.

在没有fclose()的情况下,C标准不能指定发生的情况时,很可能是内存泄漏。

互联网摘选

4、

Of course, with the exception of fclose, you are likely already processing the return values on these.

当然,除fclose以外,您可能已经对这些函数的返回值都进行了处理。

互联网摘选

5、

The fgets, fgetss, fread, fscanf, and fclose functions also return False on error.

fscanf和fclose函数在出错时也返回False。

互联网摘选

6、

The semantics of fopen require a complementary fclose.

fopen的语义需要补充性的fclose。

互联网摘选

7、

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。

互联网摘选

  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈