Skip to main content

xila_file_system_truncate

Function xila_file_system_truncate 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xila_file_system_truncate( _file: *mut XilaFileSystemFile, _length: XilaFileSystemSize, ) -> XilaFileSystemResult
Expand description

This function is used to truncate a file.

ยงSafety

The caller must ensure that the provided pointer is valid and points to a properly initialized XilaFileSystemItem that is a file.