|
|
1.1 ! root 1: .TH FERROR 3S ! 2: .CT 2 file_io file_inq_creat ! 3: .SH NAME ! 4: feof, ferror, clearerr, fileno \(mi stream status inquiries ! 5: .SH SYNOPSIS ! 6: .B #include <stdio.h> ! 7: .PP ! 8: .B int feof(stream) ! 9: .br ! 10: .SM ! 11: .B FILE ! 12: .B *stream; ! 13: .PP ! 14: .B int ferror(stream) ! 15: .br ! 16: .SM ! 17: .B FILE ! 18: .B *stream ! 19: .PP ! 20: .B int clearerr(stream) ! 21: .br ! 22: .SM ! 23: .B FILE ! 24: .B *stream ! 25: .PP ! 26: .B int fileno(stream) ! 27: .br ! 28: .SM ! 29: .B FILE ! 30: .B *stream; ! 31: .SH DESCRIPTION ! 32: .I Feof ! 33: returns non-zero if end of file has been encountered on the named input ! 34: .I stream, ! 35: otherwise zero. ! 36: .PP ! 37: .I Ferror ! 38: returns non-zero when an error has occurred reading or writing ! 39: the named ! 40: .I stream, ! 41: otherwise zero. ! 42: Unless cleared by ! 43: .I clearerr, ! 44: the error indication lasts until ! 45: the stream is closed. ! 46: .PP ! 47: .I Clearerr ! 48: resets the error indication on the named ! 49: .I stream. ! 50: .PP ! 51: .I Fileno ! 52: returns the integer file descriptor ! 53: associated with the ! 54: .I stream, ! 55: see ! 56: .IR open (2). ! 57: .PP ! 58: These functions ! 59: are implemented as macros; ! 60: they cannot be redeclared. ! 61: .SH "SEE ALSO" ! 62: .IR stdio (3)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.