ferror man page on UNIXv7

Man page or keyword search:  
man Server   300 pages
apropos Keyword Search (all sections)
Output format
UNIXv7 logo
[printable version]

FERROR(3S)							    FERROR(3S)

NAME
       feof, ferror, clearerr, fileno - stream status inquiries

SYNOPSIS
       #include <stdio.h>

       feof(stream)
       FILE *stream;

       ferror(stream)
       FILE *stream

       clearerr(stream)
       FILE *stream

       fileno(stream)
       FILE *stream;

DESCRIPTION
       Feof  returns  non-zero	when  end  of  file is read on the named input
       stream, otherwise zero.

       Ferror returns non-zero when an error has occurred reading  or  writing
       the  named  stream,  otherwise  zero.   Unless cleared by clearerr, the
       error indication lasts until the stream is closed.

       Clrerr 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
       fopen(3), open(2)

								    FERROR(3S)
[top]

List of man pages available for UNIXv7

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net