Files
semi-libc/src/linux/splice.c
T
Rich Felker 53147f902b add splice and vmsplice syscalls
based on patches by orc and Isaac Dunham.
2012-07-23 16:50:56 -04:00

9 lines
235 B
C

#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);
}