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§
- Pipe
Read Node - VfsNode adapter wrapping the read end of a pipe.
- Pipe
Reader - The read end of a kernel pipe.
- Pipe
Write Node - VfsNode adapter wrapping the write end of a pipe.
- Pipe
Writer - 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.