minix/lib/stdio/rewind.c
2009-11-09 10:26:00 +00:00

14 lines
222 B
C

/*
* rewind.c - set the file position indicator of a stream to the start
*/
/* $Header$ */
#include <stdio.h>
#include "loc_incl.h"
void
rewind(FILE *stream)
{
(void) fseek(stream, 0L, SEEK_SET);
clearerr(stream);
}