Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Fallocate(fd int, mode uint32, off int64, len int64) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Fallocate ¶ func Fallocate(fd int, mode uint32, off int64, len int64) (err error) Fallocate is a wrapper around fallocate syscall. On Linux, it is a wrapper around fallocate(2). On Darwin, it is a wrapper around fnctl(2). On FreeBSD, it is a wrapper around posix_fallocate(2). Types ¶ This section is empty. Source Files ¶ View all Source files fallocate.go fallocate_linux.go Click to show internal directories. Click to hide internal directories.