in clock_getres, check for null pointer before storing result
[musl.git] / src / unistd / pwrite.c
blobca3765762274f3b3506239377ecf72091f5b948b
1 #include <unistd.h>
2 #include "syscall.h"
4 ssize_t pwrite(int fd, const void *buf, size_t size, off_t ofs)
6 return syscall_cp(SYS_pwrite, fd, buf, size, __SYSCALL_LL_PRW(ofs));
9 weak_alias(pwrite, pwrite64);