4 * COPYRIGHT: See COPYING in the top level directory
5 * PROJECT: ReactOS system libraries
6 * FILE: subsys/psx/lib/psxdll/unistd/getpid.c
7 * PURPOSE: Get the process ID
8 * PROGRAMMER: KJK::Hyperion <noog@libero.it>
13 #include <ddk/ntddk.h>
14 #include <sys/types.h>
19 return ((pid_t
)NtCurrentTeb()->Cid
.UniqueThread
);