[−][src]Function wasi::wasi_snapshot_preview1::fd_filestat_set_size
pub unsafe extern "C" fn fd_filestat_set_size(fd: Fd, size: Filesize) -> Errno
Adjust the size of an open file. If this increases the file's size, the extra bytes are filled with zeros.
Note: This is similar to ftruncate
in POSIX.