pub struct Tee { /* private fields */ }
Expand description
Duplicate pipe content, equivalent to tee(2)
.
Implementations§
source§impl Tee
impl Tee
pub fn new(fd_in: impl UseFixed, fd_out: impl UseFixed, len: u32) -> Self
sourcepub const CODE: u8 = 33u8
pub const CODE: u8 = 33u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.