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