zzip_dirhandle - Man Page

get handle.


#include <zzip/lib.h>

zzip_dirhandle(ZZIP_FILE * fp)

zzip_dirfd(ZZIP_DIR * dir)


The zzip_dirhandle function will just return the fp->dir value.

If a ZZIP_FILE is contained within a zip-file that one will be a valid pointer, otherwise a NULL is returned and the ZZIP_FILE wraps a real file.  

The zzip_dirfd function will just return dir->fd

If a ZZIP_DIR does point to a zipfile then the file-descriptor of that zipfile is returned, otherwise a NULL is returned and the ZZIP_DIR wraps a real directory DIR (if you have dirent on your system).  


Guido Draheim <guidod@gmx.de>

Referenced By

The man page zzip_dirfd(3) is an alias of zzip_dirhandle(3).

0.13.72 zziplib Function List