pub unsafe extern "C" fn fd_filestat_set_size(
    arg0: i32,
    arg1: i64
) -> i32
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.