namespace: ashet.pipe
System Calls
syscall create(in object_size: usize, in fifo_length: usize, out handle: Pipe)Spawns a new pipe with
fifo_lengthelements ofobject_sizebytes. Iffifo_lengthis 0, the pipe is synchronous and can only send data if areadcall is active. Otherwise, up tofifo_lengthelements can be stored in a FIFO.syscall get_fifo_length(in handle: Pipe, out length: usize)Returns the length of the pipe-internal FIFO in elements.
syscall get_object_size(in handle: Pipe, out size: usize)Returns the size of the objects stored in the pipe.