summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/lseek.c
blob: f2e81b8c667a5c32f1a67f4d24b708b56939f5c1 (plain)
1
2
3
4
5
6
7
8
9


#include <syscall.h> // for __syscall_3, syscall
#include <unistd.h>  // for off_t, lseek

off_t lseek(int fildes, off_t offset, int whence)
{
	return syscall(lseek, fildes, offset, whence);
}