Allocates memory for a file descriptor.
fn fallocate(fd: i32, mode: i32, base: i64, len: i64) -> i32
| Name | Description |
|---|---|
| fd | The affected file descriptor. |
| mode | The mode of the allocation. |
| base | The base of the allocation. |
| len | The length of the allocation. |
Returns success or an error value.