repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix setgroups behavior in multithreaded process
[musl.git]
/
src
/
linux
/
copy_file_range.c
blob
dd4b13333622658f421eea16f33b5eebb9140623
1
#define _GNU_SOURCE
2
#include <unistd.h>
3
#include
"syscall.h"
4
5
ssize_t
copy_file_range
(
int
fd_in
,
off_t
*
off_in
,
int
fd_out
,
off_t
*
off_out
,
size_t
len
,
unsigned
flags
)
6
{
7
return
syscall
(
SYS_copy_file_range
,
fd_in
,
off_in
,
fd_out
,
off_out
,
len
,
flags
);
8
}