zkRewind - reset file position indicator in a stream
#include "zkStdio.h"
void zkRewind(FILE* stream);
The call:
rewind(stream)
is equivalent to:
(void) fseek(stream, 0L, SEEK_SET)
except that zkRewind() also clears the error indicator.
The zkRewind() function returns no value.
Refer to zkFseek() with the exception of [EINVAL] which does not apply.
Because zkRewind() does not return a value, an application wishing to detect errors should clear errno, then call zkRewind(), and if errno is non-zero, assume an error has occurred.