Io module

sys_pipe

procedureextensionexperimental2 overloadssince 0.31.0Source

A pipe whose read end is non-blocking when nonblocking (the backend waits for readiness); the write end always blocks, which a one-byte wake-up never does for long.

sys_pipe :: (fds: *[2] s32, nonblocking: bool) -> s64

Parameters

fds: *[2] s32
nonblocking: bool

Returns

s64
sys_pipe :: (fds: *[2] s32, nonblocking: bool) -> s64

Parameters

fds: *[2] s32
nonblocking: bool

Returns

s64

See also