Reads from an offset in a file descriptor.
fn pread(fd: i32, buf: &mut [u8], offset: i64) -> i64
| Name | Description |
|---|---|
| fd | The affected file descriptor. |
| buf | The buffer to read into. |
| offset | The offset from which to read. |
Returns the number of bytes read or an error value.