📄 feof.c
字号:
/* Copyright (c) Colorado School of Mines, 2006.*//* All rights reserved. */#include "sfstdio.h"/* Return the eof condition if any.** Written by Kiem-Phong Vo*/#if __STD_Cint feof(FILE* f)#elseint feof(f)FILE* f;#endif{ reg Sfio_t* sf; if(!(sf = _sfstream(f))) return -1; _stdseterr(f,sf); return sfeof(sf);}#if _lib_feof_unlocked && !_done_feof_unlocked && !defined(feof)#define _done_feof_unlocked 1#define feof feof_unlocked#include "feof.c"#undef feof#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -