
n.文件關閉
The fclose() function closes an open file. 函數的作用是:關閉文件。
When a file is closed, either because of a call to fclose or because the program terminates, all the buffers associated with it are automatically flushed. 當文件被關閉,或者因為程序終止而關閉,文件的緩沖區(qū)都被刷新。
fread(buf, 1, 1024*50, pFile);fclose(pFile); 知道答案的朋友請告訴我吧!
fr); printf("%s\n",str); fclose(fr); 作者:佚名文章來源:不詳點擊數:更新時間:2005-3-29
SESSION[user]}\r\n"; @fputs($fp,$msg); @fclose($fp); 上面的代碼是我使用的一個類中的錯誤記錄方法。