musl/src/unistd/dup2.c

8 lines
110 B
C
Raw Normal View History

2011-02-12 00:22:29 -05:00
#include <unistd.h>
#include "syscall.h"
int dup2(int old, int new)
{
return syscall(SYS_dup2, old, new);
2011-02-12 00:22:29 -05:00
}