fcntl.h: move macros that do not vary between archs out of bits
[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 }