Sign in
ara-mdk
/
platform
/
bionic
/
ce636ca088bb652942ffabc806adaac16548fccf
/
.
/
libc
/
arch-arm
/
syscalls
/
getppid.S
blob: 4a775e789bde21d9b670d99f78e0390900d18924 [
file
] [
log
] [
blame
]
/*
autogenerated by gensyscalls.py
*/
#include <asm/unistd.h>
#include <linux/err.h>
#include <machine/asm.h>
ENTRY
(
getppid
)
mov ip
,
r7
ldr r7
,
=
__NR_getppid
swi
#0
mov r7
,
ip
cmn r0
,
#(MAX_ERRNO + 1)
bxls lr
neg r0
,
r0
b __set_errno
END
(
getppid
)