General Functions

tifiles_get_error

TIEXPORT2 int TICALL tifiles_error_get(FileError number, char **message)

Attempt to match the message corresponding to the error number. The returned string must be freed when no longer needed.

number :
error number (see file_err.h for list).
message :
a newly glib allocated string which contains corresponding error *message.
Return value :
0 if error has been caught, the error number otherwise (propagation).

Return to the main index