Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
615629bd6fcd6ddb69ad762e679f088c7bd878e2
/
.
/
src
/
unistd
/
pread.c
blob: 3d2799fdd49dfec3a2a4d2d5896b8ab06fef3f27 [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
"syscall.h"
#include
"libc.h"
ssize_t
pread
(
int
fd
,
void
*
buf
,
size_t
size
,
off_t
ofs
)
{
return
syscall_cp
(
SYS_pread
,
fd
,
buf
,
size
,
__SYSCALL_LL_O
(
ofs
));
}
LFS64
(
pread
);