summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/unistd/dup.c
blob: 7fee01201b82709a3cd0b04b3a457a846243d1a8 (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

int dup(int fd)
{
	return syscall(SYS_dup, fd);
}