• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <unistd.h>
2 #include "syscall.h"
3 
pwrite(int fd,const void * buf,size_t size,off_t ofs)4 ssize_t pwrite(int fd, const void *buf, size_t size, off_t ofs)
5 {
6 	return syscall_cp(SYS_pwrite, fd, buf, size, __SYSCALL_LL_PRW(ofs));
7 }
8 
9 weak_alias(pwrite, pwrite64);
10