Sign in
mojo
/
mojo-tools
/
520b7ed1860f21d38a217a053a302c77ae427324
/
.
/
fusl
/
src
/
linux
/
splice.c
blob: 1956b523cf6de5e51856ebcbf48d5b7b6369cca9 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<fcntl.h>
#include
"syscall.h"
ssize_t
splice
(
int
fd_in
,
off_t
*
off_in
,
int
fd_out
,
off_t
*
off_out
,
size_t
len
,
unsigned
flags
)
{
return
syscall
(
SYS_splice
,
fd_in
,
off_in
,
fd_out
,
off_out
,
len
,
flags
);
}