fxlibc/src/posix/unistd/target/vhex-sh/getppid.S

19 lines
264 B
ArmAsm

#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _getppid
.type _getppid, @function
.align 2
/*
** extern pid_t getpgid(void);
** Get the parent process ID of the calling process.
*/
_getppid:
trapa #__NR_getppid
rts
nop
.end
#endif