Files
PowerShell/impl/getcurrentprocessorid.cpp
T

9 lines
152 B
C++
Raw Normal View History

2015-03-05 14:58:25 -08:00
#include "getcurrentprocessorid.h"
#include <unistd.h>
HANDLE GetCurrentProcessId()
{
pid_t pid = getpid();
return reinterpret_cast<HANDLE>(pid);
}