added getpid system call - not tested yet
Merge branch 'pid'