blob: 47bf7b378d87f9a6d9d71704cbf41cb0f1b9ff7c [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__waitid)
movq %rcx, %r10
movl $__NR_waitid, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(__waitid)
.hidden __waitid