repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
isblank() implementation.
[minix.git]
/
lib
/
libc
/
stdio
/
rewind.c
blob
5b835881b0fdaf950da025eef1826941a6356e0b
1
/*
2
* rewind.c - set the file position indicator of a stream to the start
3
*/
4
/* $Header$ */
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
}