06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

rewind Resets the file position indicator.<br />

#include <br />

#include <br />

void rewind(<br />

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

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

The rewind() function sets the file position indicator for the stream pointed to by<br />

stream to the beginning of the file. It is equivalent to:<br />

(void) fseek(stream, 0L, SEEK_SET)<br />

except that the stream's error indicator is cleared.<br />

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

If stream refers to an I/O device, this function does nothing<br />

and returns a 0.<br />

This function does not return a value.<br />

Refer to Appendix B.<br />

3-128 <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!