-
Notifications
You must be signed in to change notification settings - Fork 7
this_process get_id
Alairion edited this page May 8, 2021
·
2 revisions
nes::this_process::get_id
(1) process::id get_id() noexcept;
- Returns the current process's id.
None.
- Returns a
nes::process::id
that is the unique identifier for the current process.
- Does not throw.
- On Windows, returns
process::id{GetCurrentProcessId()}
On Posix systems, returnsprocess::id{getpid()}