source:
trunk/sys/dietlibc/fsetpos.c
@
67
Last change on this file since 67 was 1, checked in by , 8 years ago | |
---|---|
File size: 149 bytes |
Line | |
---|---|
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.