mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
LibCore: Add System::getpid
This commit is contained in:
parent
94374f0d19
commit
212cea4535
Notes:
github-actions[bot]
2024-12-17 10:08:57 +00:00
Author: https://github.com/stasoid
Commit: 212cea4535
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2921
3 changed files with 12 additions and 0 deletions
|
@ -184,4 +184,9 @@ ErrorOr<void> munmap(void* address, size_t size)
|
|||
return {};
|
||||
}
|
||||
|
||||
int getpid()
|
||||
{
|
||||
return GetCurrentProcessId();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue