Initializing help system before first use

fsize

fsize


Purpose
Get the size of a file.
Synopsis
size_t fsize(XPRMcontext ctx, const char *f);
Arguments
ctx 
Mosel's execution context
File to be considered
Return value
Size of the file in bytes or -1 in case of error.
Further information
The error value -1 will be returned either if the file cannot be found or if the corresponding IO driver does not support the functionality.