about summary refs log tree commit diff
path: root/src/unistd/pwrite.c
blob: ca3765762274f3b3506239377ecf72091f5b948b (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <unistd.h>
#include "syscall.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_PRW(ofs));
}

weak_alias(pwrite, pwrite64);