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



#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);
}