5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
12 #include <_PDCLIB_io.h>
14 void _PDCLIB_rewind_unlocked( FILE * stream )
16 stream->status &= ~ _PDCLIB_ERRORFLAG;
17 _PDCLIB_fseek_unlocked( stream, 0L, SEEK_SET );
20 void rewind( FILE * stream )
22 _PDCLIB_flockfile(stream);
23 _PDCLIB_rewind_unlocked(stream);
24 _PDCLIB_funlockfile(stream);
30 #include <_PDCLIB_test.h>
34 /* Testing covered by ftell.c */