Elliott Hughes | 3f525d4 | 2014-06-24 16:32:01 -0700 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
2 | |||||
3 | #include <private/bionic_asm.h> | ||||
4 | |||||
5 | ENTRY(tee) | ||||
6 | movq %rcx, %r10 | ||||
7 | movl $__NR_tee, %eax | ||||
8 | syscall | ||||
9 | cmpq $-MAX_ERRNO, %rax | ||||
10 | jb 1f | ||||
11 | negl %eax | ||||
12 | movl %eax, %edi | ||||
Dan Albert | 3726f9c | 2014-08-08 15:15:29 -0700 | [diff] [blame^] | 13 | call __set_errno |
Elliott Hughes | 3f525d4 | 2014-06-24 16:32:01 -0700 | [diff] [blame] | 14 | 1: |
15 | ret | ||||
16 | END(tee) |