ProcGetCurrentId
Description
Platform-independent method to get current process Id. Foundation API: provided by Sys.c (always built), unlike the rest of the process-spawning functions in Sys/Proc.h which live in the optional sys_proc feature.
Success
Returns current process ID.
Failure
Function cannot fail - always returns valid ID.
Usage example (Cross-references)
Last updated on