bionic/libc/arch-x86_64/syscalls/pwritev.S
Elliott Hughes 6f4594d5dc Add preadv/pwritev.
Bug: http://b/12612572
Change-Id: I38ff2684d69bd0fe3f21b1d371b88fa60d5421cb
2015-08-26 14:48:55 -07:00

19 lines
340 B
ArmAsm

/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(pwritev)
movq %rcx, %r10
movl $__NR_pwritev, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno_internal
1:
ret
END(pwritev)
ALIAS_SYMBOL(pwritev64, pwritev)