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