tee.c 360 B

12345678910111213141516
  1. /*
  2. * tee() for uClibc
  3. *
  4. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  5. *
  6. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. */
  8. #include <sys/syscall.h>
  9. #if defined __NR_tee && defined __USE_GNU
  10. # include <fcntl.h>
  11. _syscall4(ssize_t, tee, int, __fdin, int, __fdout, size_t, __len,
  12. unsigned int, __flags)
  13. #endif