Sign in
mojo
/
mojo-tools
/
70b13db057bce22124fca0597e341f49599ad485
/
.
/
fusl
/
src
/
unistd
/
pread.c
blob: 5f6cd71633d9061f397ad478dad12fcdb32c922d [
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
));
}