Skip to main content

SYS_PWRITE

Constant SYS_PWRITE 

Source
pub const SYS_PWRITE: usize = 457;
Expand description

Write to a file descriptor at a specific offset.

  • fd: file descriptor
  • buf_ptr: pointer to the data buffer
  • buf_len: number of bytes to write
  • offset: byte offset in the file

Returns the number of bytes written. The file position is not changed.