summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/lseek.c
blob: fb574f7b7ce1121588d4b2cce22b54a8b6cfbdb2 (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_lseek

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