source:
trunk/sys/dietlibc/fsetpos.c
@
395
| Last change on this file since 395 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 149 bytes | |
| Rev | Line | |
|---|---|---|
| [1] | 1 | #include <stdio.h> |
| 2 | #include <unistd.h> | |
| 3 | ||
| 4 | int fsetpos(FILE *stream, fpos_t *pos) { | |
| 5 | if (fseek(stream,*pos,SEEK_SET)==-1) | |
| 6 | return -1; | |
| 7 | return 0; | |
| 8 | } |
Note: See TracBrowser
for help on using the repository browser.
