1 .\" Copyright (c) 1980 Regents of the University of California.
2 .\" All rights reserved. The Berkeley software License Agreement
3 .\" specifies the terms and conditions for redistribution.
5 .\" @(#)ferror.3s 6.3 (Berkeley) 5/14/86
7 .TH FERROR 3 "May 14, 1986"
10 ferror, feof, clearerr, fileno \- stream status inquiries
16 int feof(FILE *\fIstream\fP)
17 int ferror(FILE *\fIstream\fP)
18 int clearerr(FILE *\fIstream\fP)
19 int fileno(FILE *\fIstream\fP)
24 returns non-zero when end of file is read on the named input
29 the end-of-file indication lasts until
33 returns non-zero when an error has occurred reading or writing
39 the error indication lasts until
43 resets the error and end-of-file indicators on the named
47 returns the integer file descriptor
53 Currently all of these functions
54 are implemented as macros;
55 they cannot be redeclared.