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