summaryrefslogtreecommitdiff
path: root/src/unistd/dup.c
blob: b11cd715907505b25598a6b12dc552f302a8cffc (plain) (blame)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

int dup(int fd)
{
	return syscall1(__NR_dup, fd);
}