Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / network / stacks / AROSTCP / netlib / getppid.c
blobd3ef0dc4fd17cc2a290049221cb59aefbb62ebcc
1 #include <exec/tasks.h>
2 #include <sys/types.h>
3 #include <proto/exec.h>
5 pid_t
6 getppid(void)
8 struct Task *ThisTask;
10 ThisTask = FindTask(NULL);
11 return (pid_t)ThisTask->tc_ETask->Parent;