LibCore: Add System::getpid

This commit is contained in:
stasoid 2024-12-15 05:39:12 +05:00 committed by Jelle Raaijmakers
commit 212cea4535
Notes: github-actions[bot] 2024-12-17 10:08:57 +00:00
3 changed files with 12 additions and 0 deletions

View file

@ -184,4 +184,9 @@ ErrorOr<void> munmap(void* address, size_t size)
return {};
}
int getpid()
{
return GetCurrentProcessId();
}
}