platform_bionic/libc/arch-x86_64/syscalls/write.S

16 lines
277 B
ArmAsm
Raw Normal View History

/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(write)
movl $__NR_write, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call PIC_PLT(__set_errno)
1:
ret
END(write)