xzerror2.vi

Returns the error message in ErrorStr for the last error which occurred on the given compressed file. errnum is set to XOnZip error number.

If an error occurred in the file system and not in the compression library, errnum is set to Z_ERRNO.

xzerror2 copies not more than MaxLen characters (inclusive trailing 0) into ErrorStr.

The function result is 1 if there was enough room within ErrorStr otherwise 0.


Connector Pane

xzerror2.vi


Controls and Indicators

cdlrn

file/in

"gz" filehandle from xzopen.

ii32

Result

ii32

errnum

istr

ErrorStr

idlrn

file/out