minix/lib/stdio/fsetpos.c
2009-11-09 10:26:00 +00:00

12 lines
169 B
C

/*
* fsetpos.c - set the position in the file
*/
/* $Header$ */
#include <stdio.h>
int
fsetpos(FILE *stream, fpos_t *pos)
{
return fseek(stream, *pos, SEEK_SET);
}