blob: afb843af50434946aaebc342cb834d4a1a4a2354 [file] [log] [blame]
Elliott Hughes3f525d42014-06-24 16:32:01 -07001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(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 Albert512bc522014-08-07 10:46:42 -070013 call PIC_PLT(__set_errno)
Elliott Hughes3f525d42014-06-24 16:32:01 -0700141:
15 ret
16END(tee)