Expand description
Unix pipe types.
Structs§
- Open
Options - Options and flags which can be used to configure how a FIFO file is opened.
- Receiver
- Reading end of a Unix pipe.
- Sender
- Writing end of a Unix pipe.
Enums§
- PipeEnd 🔒
Functions§
- get_
file_ 🔒flags - Gets file descriptor’s flags by fcntl.
- has_
read_ 🔒access - Checks for
O_RDONLYorO_RDWRaccess mode. - has_
write_ 🔒access - Checks for
O_WRONLYorO_RDWRaccess mode. - is_pipe 🔒
- Checks if the file descriptor is a pipe or a FIFO.
- pipe
- Creates a new anonymous Unix pipe.
- set_
blocking 🔒 - Removes
O_NONBLOCKfrom fd’s flags. - set_
nonblocking 🔒 - Sets file descriptor’s flags with
O_NONBLOCKby fcntl.