aboutsummaryrefslogtreecommitdiff
path: root/src/linux/tee.c
blob: a24748cfb01d12b735df1e1be1628f828ec9806d (plain)
1
2
3
4
5
6
7
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);
}