ack/lang/cem/libcc.ansi/stdio/rewind.c
1994-06-24 14:02:31 +00:00

15 lines
218 B
C

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