.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)ferror.3 6.3 (Berkeley) %G%
ferror, feof, clearerr, fileno \- stream status inquiries
returns non-zero when end of file is read on the named input
the end-of-file indication lasts until
returns non-zero when an error has occurred reading or writing
the error indication lasts until
resets the error and end-of-file indicators on the named
returns the integer file descriptor
Currently all of these functions
are implemented as macros;
they cannot be redeclared.