Files
PowerShell/native/getcurrentprocessorid.cpp
T
2015-11-03 12:24:36 -08:00

10 lines
155 B
C++

#include "getcurrentprocessorid.h"
#include <unistd.h>
int32_t GetCurrentProcessId()
{
pid_t pid = getpid();
return static_cast<int32_t>(pid);
}