minix/lib/libc/stdio/fsetpos.c

13 lines
169 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/*
* 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);
}