dup.c 272 B

1234567891011
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * dup() for uClibc
  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. #include <unistd.h>
  10. _syscall1(int, dup, int, oldfd);