[][src]Function linux::syscall::pwrite

pub fn pwrite(fd: c_int, buf: &[d8], offset: loff_t) -> ssize_t

Writes to an offset in a file descriptor.

[argument, fd] The affected file descriptor.

[argument, buf] The buffer to write.

[argument, offset] The offset at which to write.

[return_value] Returns the number of bytes written or an error value.

= See also

  • link:man:pwrite(2)