about summary refs log tree commit diff
path: root/src/unistd/pwrite.c
blob: 869b69f03b88ee0098cf88dfc2093c7ab28be7f7 (plain) (blame)
1
2
3
4
5
6
7
#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));
}