Function wait

Source
pub fn wait(pid: u64) -> Result<i8, SysError>
Available on neither crate feature native-simulator nor crate feature stub-syscalls.
Expand description

The syscall pauses until the execution of a process specified by pid has ended. Note: available after ckb 2nd hardfork.

ยงArguments

  • pid - process id

Returns exit code.