06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

feof pREPC+ <strong>System</strong> <strong>Calls</strong><br />

feof Tests a stream’s end-of-file indicator.<br />

#include <br />

#include <br />

int feof(<br />

FILE *stream /* stream pointer */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

The feof() function tests the end-of-file indicator for the stream pointed to by<br />

stream.<br />

stream Points to an open pREPC+ stream.<br />

This function returns a nonzero number if the end-of-file indicator is set for stream<br />

and zero if it is not set.<br />

Refer to Appendix B.<br />

Callable From<br />

■ Task<br />

3-32 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!