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