PowerShell/impl/getcurrentprocessorid.cpp
2015-03-05 14:58:25 -08:00

10 lines
152 B
C++

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