[][src]Function linux::syscall::tee

pub fn tee(fd_in: c_int, fd_out: c_int, len: usize, flags: c_uint) -> ssize_t

Copies data from one pipe to another.

[argument, fd_in] The pipe to copy from.

[argument, fd_out] The pipe to copy to.

[argument, len] The number of bytes to copy.

[argument, flags] Flags to use while copying.

[return_value] Returns the number of bytes copied.

= See also

  • link:man:tee(2)