[−][src]Function linux::syscall::fallocate
pub fn fallocate(fd: c_int, mode: c_int, base: loff_t, len: loff_t) -> c_int
Allocates memory for a file descriptor.
[argument, fd] The affected file descriptor.
[argument, mode] The mode of the allocation.
[argument, base] The base of the allocation.
[argument, len] The length of the allocation.
[return_value] Returns success or an error value.
= See also
- link:man:fallocate(2)