Files
PowerShell/native/getcurrentprocessorid.cpp
T
2015-10-25 12:21:53 -07:00

10 lines
152 B
C++

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