ack/mach/sun2/libsys/getppid.s

9 lines
154 B
ArmAsm
Raw Permalink Normal View History

1987-03-03 09:37:26 +00:00
#include "syscall.h"
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define _getppid
_getppid:
pea SYS_getpid
trap #0
move.l d1,d0
rts