Name

zzip_strerror, zzip_strerror_of —

Synopsis

#include <zzip/lib.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

  • Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>

Copyright

Copyright (c) 1999,2000,2001,2002,2003 Guido Draheim All rights reserved, use under the restrictions of the Lesser GNU General Public License or alternatively the restrictions of the Mozilla Public License 1.1