add linux tee syscall
This commit is contained in:
parent
00e6bbcc05
commit
997ba92a0f
2 changed files with 9 additions and 0 deletions
8
src/linux/tee.c
Normal file
8
src/linux/tee.c
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#define _GNU_SOURCE
|
||||
#include <fcntl.h>
|
||||
#include "syscall.h"
|
||||
|
||||
ssize_t tee(int src, int dest, size_t len, unsigned flags)
|
||||
{
|
||||
return syscall(SYS_tee, src, dest, len, flags);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue