ID EN
OS

posix_fallocate

Python 3.11

Ensures that enough disk space is allocated for the file specified by fd starting from offset and continuing for len bytes.

Syntax

PYTHON
os.posix_fallocate(fd, offset, len, /)

See Also

Availability