DOKK / manpages / debian 12 / libzzip-dev / zzip_seterror.3.en
zzip_error(3) zziplib Function List zzip_error(3)

zzip_error, zzip_seterror - get errror status.

#include <zzip/lib.h>



int
zzip_error(ZZIP_DIR * dir)
void
zzip_seterror(ZZIP_DIR * dir, int errcode) 


The zzip_error function just returns dir->errcode of the ZZIP_DIR handle see: zzip_dir_open, zzip_dir_open, zzip_readdir, zzip_dir_read


The zzip_seterror function just does dir->errcode = errcode


Guido Draheim <guidod@gmx.de>


Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)

0.13.72 zziplib