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

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