1 /* Generated by gensyscalls.py. Do not edit. */ 2 3 #include <private/bionic_asm.h> 4 5 ENTRY(getppid) 6 mov x8, __NR_getppid 7 svc #0 8 9 cmn x0, #(MAX_ERRNO + 1) 10 cneg x0, x0, hi 11 b.hi __set_errno_internal 12 13 ret 14 END(getppid) 15