blob: 8f30eb6a917f3434f501d371a4e9b30069e11701 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(__ioctl)
movl $__NR_ioctl, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
orq $-1, %rax
1:
ret
END(__ioctl)
.hidden _C_LABEL(__ioctl)