source:
trunk/minix/lib/stdio/rewind.c@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
File size: 299 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | /* |
2 | * rewind.c - set the file position indicator of a stream to the start | |
3 | */ | |
4 | /* $Header: /cvsup/minix/src/lib/stdio/rewind.c,v 1.1.1.1 2005/04/21 14:56:36 beng 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 | } |
Note:
See TracBrowser
for help on using the repository browser.