Debian Codegraph @

libc-top-half/musl/src/stdio/__stdio_seek.c

raw
1 #ifdef __wasilibc_unmodified_upstream // WASI has no syscall
2 #else
3 #include <unistd.h>
4 #endif
5 #include "stdio_impl.h"
6 #include "stdio_impl.h"
7
8 off_t __stdio_seek(FILE *f, off_t off, int whence)
9 {
10 return __lseek(f->fd, off, whence);
11 }