summaryrefslogtreecommitdiff
path: root/src/stdio/fsetpos.c
blob: cea5ddbb5c9eb9146c9e2d10aca57c6859426e5a (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "stdio_impl.h"
#include "libc.h"

int fsetpos(FILE *f, const fpos_t *pos)
{
	return __fseeko(f, *(const long long *)pos, SEEK_SET);
}

LFS64(fsetpos);