Function tee

Source
pub unsafe fn tee(
    fd_in: int,
    fd_out: int,
    len: size_t,
    flags: uint,
) -> Result<int>
Expand description

Duplicates data between file descriptors without consuming the data at the source.