Gitiles
Code Review
Sign In
review.blissroms.org
/
platform_bionic
/
13ed3f0af15ebd5b10aa44f8f51a5bba1b3bd9fc
/
.
/
libc
/
arch-x86_64
/
syscalls
/
dup3.S
blob: 9abd1686af6e29be4eff3a47e7645e4e133fa2fd [
file
] [
log
] [
blame
]
/*
Generated by gensyscalls.py. Do not edit.
*/
#include <private/bionic_asm.h>
ENTRY
(
dup3
)
movl
$
__NR_dup3
,
%eax
syscall
cmpq
$-
MAX_ERRNO
,
%rax
jb
1
f
negl %eax
movl
%eax, %
edi
call __set_errno_internal
1
:
ret
END
(
dup3
)