getppid.S revision 7efad83d430f4d824f2aaa75edea5106f6ff8aae
1/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(getppid)
6    movl    $__NR_getppid, %eax
7    syscall
8    cmpq    $-MAX_ERRNO, %rax
9    jb      1f
10    negl    %eax
11    movl    %eax, %edi
12    call    __set_errno_internal
131:
14    ret
15END(getppid)
16