pub fn process_id() -> u64
native-simulator
This syscall is used to get the current process id. Root process ID is 0. Note: available after ckb 2nd hardfork.