2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 19:31:05 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2013-10-01 22:29:43 +02:00
|
|
|
|
|
|
|
ENTRY(pwrite64)
|
|
|
|
movq %rcx, %r10
|
|
|
|
movl $__NR_pwrite64, %eax
|
|
|
|
syscall
|
|
|
|
cmpq $-MAX_ERRNO, %rax
|
|
|
|
jb 1f
|
|
|
|
negl %eax
|
|
|
|
movl %eax, %edi
|
2014-09-09 00:25:01 +02:00
|
|
|
call __set_errno_internal
|
2013-10-01 22:29:43 +02:00
|
|
|
1:
|
|
|
|
ret
|
|
|
|
END(pwrite64)
|
2013-11-06 22:10:37 +01:00
|
|
|
|
2015-03-25 00:50:46 +01:00
|
|
|
ALIAS_SYMBOL(pwrite, pwrite64)
|