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

19 lines
263 B
ArmAsm
Raw Normal View History

#ifdef __SUPPORT_VHEX_KERNEL
2021-05-09 17:34:00 +02:00
#include <bits/asm/unistd_32.h>
2020-09-17 19:27:01 +02:00
.text
.global _getpgid
.type _getpgid, @function
.align 2
/*
** extern pid_t getpgid(void);
** Get the process group ID of the calling process.
*/
2020-09-17 19:27:01 +02:00
_getpgid:
trapa #__NR_getpgid
rts
nop
.end
#endif