Sign in
googlers
/
maze
/
klibc
/
aed6821b52456a4c538c9097999adba451e49248
/
.
/
usr
/
klibc
/
dup2.c
blob: 67e2171a837ef521230921a049f9968df48b3936 [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
<sys/syscall.h>
#ifndef
__NR_dup2
int
dup2
(
int
fd
,
int
fd2
)
{
return
dup3
(
fd
,
fd2
,
0
);
}
#endif
/* __NR_dup2 */