Advises the kernel of a certain usage pattern of a file descriptor.
fn fadvise(fd: i32, offset: i64, len: i64, advice: i32) -> i32
| Name | Description |
|---|---|
| fd | The file descriptor. |
| offset | The start of the usage. |
| len | The length of the usage. |
| advice | The advice given to the kernel. |
Returns success or an error value.