musl-tcc/src/unistd/dup.c

8 lines
92 B
C

#include <unistd.h>
#include "syscall.h"
int dup(int fd)
{
return syscall(SYS_dup, fd);
}