summaryrefslogtreecommitdiff
path: root/src/unistd/pwrite.c
blob: bbe4c345dcbe4a5ca5eb15db0358d331301cb665 (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_O(ofs));
}

LFS64(pwrite);