feof : test for end of file
Synopsis
Section titled “Synopsis”#include <stdio.h>int feof(FILE *fp);```### Description
feof tests whether or not the end of the file identified by fp has been reached.### Returns
feof returns 0 if the end of file has not yet been reached; if at end of file, the result is nonzero.
---
**Authoritative source**: BUSMASTER DITA help source `feof.dita`, compiled into `BUSMASTER.CHM` with the application.