PowerShell/impl/getcurrentprocessorid.cpp

10 lines
152 B
C++
Raw Normal View History

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