Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


feof()                     STDIO Macro                     feof()




Discover stream status

#include <stdio.h>
int feof(fp) FILE *fp;

feof is a macro that tests  the status of the argument stream fp.
It returns a number other than  zero if fp has reached the end of
file, and zero if it has  not.  One use of feof is to distinguish
a value of -1 returned by getw from an EOF.

***** Example *****

For an  example of how  to use this  function, see the  entry for
fopen.

***** See Also *****

STDIO






































COHERENT Lexicon                                           Page 1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026