MicrOS
feof.c File Reference
#include "../stdio.h"

Functions

int feof (FILE *stream)
 Check end-of-file indicator. More...
 

Function Documentation

◆ feof()

int feof ( FILE stream)

Check end-of-file indicator.

Checks whether the end-of-File indicator associated with stream is set, returning a value different from zero if it is.

Parameters
streamstream Pointer to a FILE object that identifies the stream to be closed.
Returns
A non-zero value is returned in the case that the end-of-file indicator associated with the stream is set. Otherwise, zero is returned.