Skip to main content

xila_file_system_file_truncate

Function xila_file_system_file_truncate 

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

This function is used to set the position in a file.

ยงSafety

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