summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/dup.c
blob: 13c52dd738fd0b7c8cc2d839c2741233ea5e15a2 (plain)
1
2
3
4
5
6
7
8
9
10
/*
 * dup() for uClibc
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <unistd.h>
_syscall1(int, dup, int, oldfd)