sendfile.S revision 15a0456d0b7618554ed3d49287e77b6d43a2812a
1/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(sendfile)
6    movq    %rcx, %r10
7    movl    $__NR_sendfile, %eax
8    syscall
9    cmpq    $-MAX_ERRNO, %rax
10    jb      1f
11    negl    %eax
12    movl    %eax, %edi
13    call    __set_errno
141:
15    ret
16END(sendfile)
17
18    .globl sendfile64
19    .equ sendfile64, sendfile
20