source: trunk/sys/dietlibc/fsetpos.c @ 254

Last change on this file since 254 was 1, checked in by alain, 8 years ago

First import

File size: 149 bytes
Line 
1#include <stdio.h>
2#include <unistd.h>
3
4int 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.