flushall

函式名: _flushall

功 能: 清除所有緩衝區

用 法: int flushall(void);

基本介紹

  • 中文名:flushall
  • 類型:函式名
  • 功 能:清除所有緩衝區
  • 用 法 :nt flushall(void);
函式名: _flushall
功 能: 清除所有緩衝區
用 法: int flushall(void);
程式例:
#include <stdio.h>
int main(void) {
FILE *stream;
/* create a file */
stream = fopen("DUMMY.FIL", "w");
/* flush all open streams */
printf("%d streams were flushed.\n", _flushall());
/* close the file */
fclose(stream);
return 0;
}

相關詞條

熱門詞條

聯絡我們