global cleanup to use the new syscall interface
[musl] / src / unistd / dup2.c
1 #include <unistd.h>
2 #include "syscall.h"
3
4 int dup2(int old, int new)
5 {
6         return syscall(SYS_dup2, old, new);
7 }