Sign in
android
/
platform
/
bionic
/
ed74484dcbc2e156a6e5fa861a62425b12e55128
/
.
/
libc
/
arch-x86_64
/
syscalls
/
eventfd.S
blob: 99f585c8db649ad23f0e3cee9594b88743b35c83 [
file
] [
log
] [
blame
]
/*
Generated by gensyscalls.py. Do not edit.
*/
#include <private/bionic_asm.h>
ENTRY
(
eventfd
)
movl
$
__NR_eventfd2
,
%eax
syscall
cmpq
$-
MAX_ERRNO
,
%rax
jb
1
f
negl %eax
movl
%eax, %
edi
call __set_errno
orq
$
-1
,
%rax
1
:
ret
END
(
eventfd
)