ultrix man page for ferror

Query: ferror

OS: ultrix

Section: 3s

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ferror(3s)																ferror(3s)

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

Syntax
       #include <stdio.h>

       feof(stream)
       FILE *stream;

       ferror(stream)
       FILE *stream

       void clearerr(stream)
       FILE *stream

       fileno(stream)
       FILE *stream;

Description
       The  function  returns nonzero when an error has occurred reading or writing the named stream, otherwise zero.  Unless cleared by the error
       indication lasts until the stream is closed.

       The function returns nonzero when end of file is read on the named input stream, otherwise zero.

       The function resets both the error and EOF indicators on the named stream.

       The function returns the integer file descriptor associated with the stream, see

       These functions are implemented as macros; they cannot be redeclared.

See Also
       open(2), fopen(3s)

																	ferror(3s)
Related Man Pages
fileno(3c) - opensolaris
fileno(3) - redhat
ferror(3c) - sunos
ferror_unlocked(3) - osx
fileno(3) - osx
Similar Topics in the Unix Linux Community
Encript Timestamp with blowfish
Malloc problem with fread() to read file to structure in C
Script solution - running Excel macro in SLES
Gamit installation error: /libraries/comlib/com_lib.a(pickfn_gftn.o)' is incompatible with i386:x86-