feof man page on IRIX

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



FERROR(3S)							    FERROR(3S)

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

SYNOPSIS
     #include <stdio.h>

     int ferror (FILE *stream);

     int feof (FILE *stream);

     void clearerr (FILE *stream);

     int fileno (FILE *stream);

DESCRIPTION
     ferror returns non-zero when an I/O error has previously occurred reading
     from or writing to the named stream, otherwise zero.

     feof returns non-zero when EOF has previously been detected reading the
     named input stream, otherwise zero.

     clearerr resets the error indicator and EOF indicator to zero on the
     named stream.

     fileno returns the integer file descriptor associated with the named
     stream (see below for common file descriptors, and open(2) for general
     information on file descriptors.)

     The following symbolic values in <unistd.h> define the file descriptors
     that are associated with the C language stdin, stdout, and stderr when an
     application is started:

	  Name		 Description		  Value
     STDIN_FILENO   Standard input value, stdin	    0
     STDOUT_FILENO  Standard output value, stdout   1
     STDERR_FILENO  Standard error value, stderr    2

NOTES
     All of these functions are implemented both as functions in the C library
     and as macros in <stdio.h>.

SEE ALSO
     open(2), fopen(3S), stdio(3S).

									Page 1

[top]

List of man pages available for IRIX

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