Sign in
googlers
/
maze
/
klibc
/
cb90a942dcb20ca34ea6d7b2f3df80d28378d871
/
.
/
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 */