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_RDONLY
orO_RDWR
access mode. - has_
write_ 🔒access - Checks for
O_WRONLY
orO_RDWR
access 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_NONBLOCK
from fd’s flags. - set_
nonblocking 🔒 - Sets file descriptor’s flags with
O_NONBLOCK
by fcntl.