summaryrefslogblamecommitdiff
path: root/src/unistd/pwrite.c
blob: 4bf3d7dfcdaa1171fab942005fee289a35cd59f8 (plain) (tree)
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_PRW(ofs));
}

LFS64(pwrite);