跳轉到內容

C++ 程式設計/程式碼/標準 C 庫/函式/fclose

來自華夏公益教科書,自由的教科書
語法
#include <cstdio>
int fclose( FILE *stream );

fclose() 函式關閉給定的檔案流,並釋放與該流關聯的任何緩衝區。fclose() 在成功時返回 0,否則返回 **EOF**。

相關主題
fflush - fopen - freopen - setbuf
華夏公益教科書