10 lines
152 B
C++
10 lines
152 B
C++
#include "getcurrentprocessorid.h"
|
|
#include <unistd.h>
|
|
|
|
HANDLE GetCurrentProcessId()
|
|
{
|
|
pid_t pid = getpid();
|
|
return reinterpret_cast<HANDLE>(pid);
|
|
}
|
|
|