summaryrefslogtreecommitdiff
path: root/src/unistd/pwrite.c
blob: 224eacdd6df01c9ab9ebc0a7965ba20ddc12bf6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

ssize_t pwrite(int fd, const void *buf, size_t size, off_t ofs)
{
	return syscall_cp(SYS_pwrite, fd, buf, size, __SYSCALL_LL(ofs));
}

LFS64(pwrite);