*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: ferror | Section: 3 | Source: UNIX v10 | File: ferror.3
FERROR(3S) FERROR(3S) NAME feof, ferror, clearerr, fileno - stream status inquiries SYNOPSIS #include <stdio.h> int feof(stream) FILE *stream; int ferror(stream) FILE *stream int clearerr(stream) FILE *stream int fileno(stream) FILE *stream; DESCRIPTION Feof returns non-zero if end of file has been encountered on the named input stream, otherwise zero. After returning EOF, stdio(3) functions will not necessarily return EOF again; feof provides a lasting indica- tion. Ferror returns non-zero when an error has occurred reading or writing the named stream, otherwise zero. Unless cleared by clearerr, the er- ror indication lasts until the stream is closed. Clearerr resets the error indication on the named stream. Fileno returns the integer file descriptor associated with the stream, see open(2). These functions are implemented as macros; they cannot be redeclared. SEE ALSO stdio(3) FERROR(3S)

Navigation Options