首页 / 词典 / good

fclose

  • 网络关闭文件;文件关闭;关闭流;关闭文件流;关闭一个文件
fclosefclose
  1. Of course , with the exception of fclose , you are likely already processing the return values on these .

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

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

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

  3. The semantics of fopen require a complementary fclose .

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

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

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

  5. 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的返回值。

  6. 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。

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