Gitiles
Code Review
Sign In
gerrit.omnirom.org
/
android_bionic
/
bce18c91638e9f37ef2c37555cbb41a0f1f98ab0
/
.
/
libc
/
arch-x86_64
/
syscalls
/
write.S
blob: 498fca71c3cc54cfa84dc37c4775b202d7869f1e [
file
] [
log
] [
blame
]
/*
Generated by gensyscalls.py. Do not edit.
*/
#include <private/bionic_asm.h>
.hidden __set_errno
ENTRY
(
write
)
movl
$
__NR_write
,
%eax
syscall
cmpq
$-
MAX_ERRNO
,
%rax
jb
1
f
negl %eax
movl
%eax, %
edi
call __set_errno
1
:
ret
END
(
write
)