blob: 20cd68967c6fd67b2fc167f8c144d4c0a9aa5a22 [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 1f
negl %eax
movl %eax, %edi
call PIC_PLT(__set_errno)
1:
ret
END(write)