projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
switch to using trap number 31 for syscalls on sh
[oweals/musl.git]
/
src
/
unistd
/
preadv.c
1
#define _BSD_SOURCE
2
#include <sys/uio.h>
3
#include <unistd.h>
4
#include "syscall.h"
5
#include "libc.h"
6
7
ssize_t preadv(int fd, const struct iovec *iov, int count, off_t ofs)
8
{
9
return syscall_cp(SYS_preadv, fd, iov, count,
10
(long)(ofs), (long)(ofs>>32));
11
}
12
13
LFS64(preadv);