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

17 lines
228 B
ArmAsm

#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