FileSystem.fallocate

Allocates space for an open file.

This function ensures that required space is allocated for specified file. If this function succeeds then any subsequent write request to specified range is guaranteed not to fail because of lack of space on the file system media.

class FileSystem
@null
void
fallocate
(
string path
,
int mode
,
off_t off
,
off_t len
,)

Meta