Function wasi::wasi_snapshot_preview1::fd_filestat_set_size
source · [−]Expand description
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.