blob: aec5d3235a0f45d4bf5b12c803afb67033a9e9b0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#define _BSD_SOURCE
#include <sys/uio.h>
#include <unistd.h>
#include "syscall.h"
#include "libc.h"
ssize_t pwritev(int fd, const struct iovec *iov, int count, off_t ofs)
{
return syscall_cp(SYS_pwritev, fd, iov, count,
(long)(ofs), (long)(ofs>>32));
}
LFS64(pwritev);
|