public
/
Ack-5.5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pristine Ack-5.5
[Ack-5.5.git]
/
lang
/
cem
/
libcc.ansi
/
stdio
/
rewind.c
1
/*
2
* rewind.c - set the file position indicator of a stream to the start
3
*/
4
/* $Id: rewind.c,v 1.2 1994/06/24 11:51:18 ceriel Exp $ */
5
6
#include <stdio.h>
7
#include "loc_incl.h"
8
9
void
10
rewind(FILE *stream)
11
{
12
(void) fseek(stream, 0L, SEEK_SET);
13
clearerr(stream);
14
}