Function process_id

Source
pub fn process_id() -> u64
Available on neither crate feature native-simulator nor crate feature stub-syscalls.
Expand description

This syscall is used to get the current process id. Root process ID is 0. Note: available after ckb 2nd hardfork.