Method lrs::pipe::Pipe::write

Writes to the pipe.

Syntax

impl Pipe {
    fn write(&self, buf: &[u8]) -> Result<usize, Errno>
}

Arguments

NameDescription
buf

The buffer that will be written to the pipe.

Return value

Returns the number of bytes written.

Remarks

If lrs was compiled with the retry option, this call will automatically retry the operation if the call was interrupted by a signal.

See also