.\" Copyright (c) 1990 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" %sccs.include.redist.man%
.\" @(#)ferror.3 6.5 (Berkeley) %G%
clearerr, feof, ferror, fileno \- stream status inquiries
clears the end-of-file and error indicators for the stream pointed
tests the end-of-file indicator for the stream pointed to by
returning non-zero if it is set.
The end-of-file indicator can only be cleared by
tests the error indicator for the stream pointed to by
returning non-zero if it is set.
The error indicator can only be cleared by
returns the integer file descriptor associated with the
conform to ANSI X3.159-1989 (``ANSI C'').