Skip to main content

sys_getpid

Function sys_getpid 

Source
pub fn sys_getpid() -> Result<u64, SyscallError>
Expand description

SYS_GETPID (311): Return current process ID.

In Strat9, each task has a unique ID, so getpid returns the TaskId.