Name

— (../../zzip/err.c) zzip_strerror, zzip_strerror_of

Synopsis

 #include <zziplib.h>
zzip_char_t* zzip_strerror(); 
 ;
zzip_char_t* zzip_strerror_of(); 
 ;

Description

returns the static string for the given error code. The error code can be either a normal system error (a positive error code will flag this), it can be libz error code (a small negative error code will flag this) or it can be an error code from libzzip, which is an negative value lower than ZZIP_ERROR

The zzip_strerror_of function fetches the errorcode from the DIR-handle and runs it through zzip_strerror to obtain the static string describing the error.

Author

Copyright

(c) 1999,2000,2001,2002 Guido Draheim
 
           All rights reserved,
 
           use under the restrictions of the
 
           Lesser GNU General Public License
 
           note the additional license information 
 
           that can be found in COPYING.ZZIP