repo.or.cz
/
tangerine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated PCI IDs to latest snapshot.
[tangerine.git]
/
workbench
/
network
/
stacks
/
AROSTCP
/
netlib
/
getppid.c
blob
d3ef0dc4fd17cc2a290049221cb59aefbb62ebcc
1
#include <exec/tasks.h>
2
#include <sys/types.h>
3
#include <proto/exec.h>
4
5
pid_t
6
getppid
(
void
)
7
{
8
struct
Task
*
ThisTask
;
9
10
ThisTask
=
FindTask
(
NULL
);
11
return
(
pid_t
)
ThisTask
->
tc_ETask
->
Parent
;
12
}
13