feof man page on OpenIndiana

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

ferror(3C)		 Standard C Library Functions		    ferror(3C)

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
       The ferror() function returns a non-zero value when an error has previ‐
       ously occurred reading  from  or	 writing  to  the  named  stream  (see
       Intro(3)). It returns 0 otherwise.

       The  feof()  function  returns a non-zero value when EOF has previously
       been detected reading the named input stream. It returns 0 otherwise.

       The clearerr() function resets the error indicator and EOF indicator to
       0 on the named stream.

       The  fileno()  function	returns the integer file descriptor associated
       with the named stream; see open(2).

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │MT-Safe			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Standard		     │See standards(5).		   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       open(2), Intro(3), fopen(3C), stdio(3C), attributes(5), standards(5)

SunOS 5.11			  17 Feb 2005			    ferror(3C)
[top]

List of man pages available for OpenIndiana

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