summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/stdio/fsetpos.c
blob: 77ab8d820603401a71804a85cc4d005eaa22ad60 (plain)
1
2
3
4
5
6
7
8
#include "stdio_impl.h"

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

weak_alias(fsetpos, fsetpos64);