⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module pipe

Module pipe 

Source
Expand description

Kernel pipe objects for inter-process and shell pipeline communication.

Provides a unidirectional byte stream between a writer and a reader. Used by the shell’s | operator and the pipe syscall.

Structs§

PipeReadNode
VfsNode adapter wrapping the read end of a pipe.
PipeReader
The read end of a kernel pipe.
PipeWriteNode
VfsNode adapter wrapping the write end of a pipe.
PipeWriter
The write end of a kernel pipe.

Functions§

create_pipe
Create a new pipe pair (reader, writer).
create_pipe_with_capacity
Create a pipe pair with a custom capacity.
drain_pipe
Capture all output written to a pipe writer and return it as bytes.