LibCore: Add System::getpid

This commit is contained in:
stasoid
2024-12-15 05:39:12 +05:00
committed by Jelle Raaijmakers
parent 94374f0d19
commit 212cea4535
3 changed files with 12 additions and 0 deletions

View File

@@ -999,4 +999,9 @@ ErrorOr<void> set_resource_limits(int resource, rlim_t limit)
return {};
}
int getpid()
{
return ::getpid();
}
}