summaryrefslogtreecommitdiff
path: root/src/unistd/lseek.c
blob: a277efbd485e719db091da63398cc68ddfe1ad9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "../_syscall.h"

off_t lseek(int fildes, off_t offset, int whence)
{
	SYSCALL(lseek, off_t, -1, fildes, offset, whence, 0, 0, 0);
}
/*
POSIX(1)
*/