Ashet OS

syscall: ashet.pipe.create

Documentation

Spawns a new pipe with fifo_length elements of object_size bytes. If fifo_length is 0, the pipe is synchronous and can only send data if a read call is active. Otherwise, up to fifo_length elements can be stored in a FIFO.

Inputs

object_size: usize
fifo_length: usize

Outputs

handle: Pipe

Errors

SystemResources