ack/mach/sun3/libsys/getppid.s

9 lines
156 B
ArmAsm
Raw Normal View History

1987-02-20 14:36:01 +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