move msghdr and cmsghdr out of bits/socket.h
[musl.git] / src / linux / process_vm.c
blob7703bdf0c911b7574d7610cb5526565e54d4a13f
1 #define _GNU_SOURCE
2 #include <sys/uio.h>
3 #include "syscall.h"
5 ssize_t process_vm_writev(pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags)
7 return syscall(SYS_process_vm_writev, pid, lvec, liovcnt, rvec, riovcnt, flags);
10 ssize_t process_vm_readv(pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags)
12 return syscall(SYS_process_vm_readv, pid, lvec, liovcnt, rvec, riovcnt, flags);