摘要:
feof's definition in stdio.h:#define _IOEOF 0x0010#define feof(_stream) ((_stream)->_flag & _IOEOF)From here we know only _flag equal to _IOEOF then feof() return 1. When file position indicator arrive to end of file, and read/write again, the fp->_flag set to _IOEOF, then call feof() 阅读全文
posted @ 2014-04-10 23:15
aoun
阅读(260)
评论(0)
推荐(0)
浙公网安备 33010602011771号