3 This file is part of the Public Domain C Library (PDCLib).
4 Permission is granted to use, modify, and / or redistribute at will.
10 #include <_PDCLIB_io.h>
12 void _PDCLIB_rewind_unlocked( FILE * stream )
14 stream->status &= ~ _PDCLIB_ERRORFLAG;
15 _PDCLIB_fseek_unlocked( stream, 0L, SEEK_SET );
18 void rewind( FILE * stream )
20 _PDCLIB_flockfile(stream);
21 _PDCLIB_rewind_unlocked(stream);
22 _PDCLIB_funlockfile(stream);
28 #include <_PDCLIB_test.h>
32 /* Testing covered by ftell.c */