dup.c 246 B

12345678910
  1. /*
  2. * dup() for uClibc
  3. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  4. *
  5. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. */
  7. #include <sys/syscall.h>
  8. #include <unistd.h>
  9. _syscall1(int, dup, int, oldfd)