NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
unsigned int ResizeFile ( string  fname,
const unsigned int  newsize 
)
inline

Resize a file.

Resize the specified file. The loader result code is returned as the value of the function call. The filename parameter must be a constant or a variable.

Parameters
fnameThe name of the file to resize.
newsizeThe new size for the file.
Returns
The function call result. See Loader module error codes.
Examples:
ex_resizefile.nxc.