• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) International Business Machines  Corp., 2007
4  * Copyright (c) 2014 Fujitsu Ltd.
5  */
6 
7 #ifndef LAPI_TEE_H__
8 #define LAPI_TEE_H__
9 
10 #include "config.h"
11 #include "lapi/syscalls.h"
12 
13 #if !defined(HAVE_TEE)
tee(int fd_in,int fd_out,size_t len,unsigned int flags)14 static inline ssize_t tee(int fd_in, int fd_out,
15                           size_t len, unsigned int flags)
16 {
17 	return tst_syscall(__NR_tee, fd_in, fd_out, len, flags);
18 }
19 #endif
20 
21 #endif /* LAPI_TEE_H__ */
22