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.
pub fn sys_getpid() -> Result<u64, SyscallError>SYS_GETPID (311): Return current process ID.
In Strat9, each task has a unique ID, so getpid returns the TaskId.