Function pipe

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

This syscall create a pipe with read-write pair of file descriptions. The file descriptor with read permission is located at fds[0], and the corresponding file descriptor with write permission is located at fds[1]. Note: available after ckb 2nd hardfork.