Copies data from one pipe to another.
fn tee(fd_in: i32, fd_out: i32, len: usize, flags: u32) -> i64
| Name | Description |
|---|---|
| fd_in | The pipe to copy from. |
| fd_out | The pipe to copy to. |
| len | The number of bytes to copy. |
| flags | Flags to use while copying. |
Returns the number of bytes copied.