12345678910111213141516171819202122 |
- #include "_stdio.h"
- void rewind(register FILE *stream)
- {
- __STDIO_AUTO_THREADLOCK_VAR;
- __STDIO_AUTO_THREADLOCK(stream);
- __STDIO_STREAM_CLEAR_ERROR(stream);
- fseek(stream, 0L, SEEK_SET);
- __STDIO_AUTO_THREADUNLOCK(stream);
- }
- libc_hidden_def(rewind)
|