Poster of Linux kernelThe best gift for a Linux geek
ZZIP_DIRHANDLE

ZZIP_DIRHANDLE

Section: zziplib Function List (3) Updated: 0.13.56
Local index Up
zzip_dirhandle, zzip_dirfd - ...  

Synopsis

#include <zzip/lib.h>
ZZIP_DIR * zzip_dirhandle((ZZIP_FILE * fp));
int zzip_dirfd((ZZIP_DIR * dir));
 

Description

The zzip_dirhandle function will just return fp->dir

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).  

Author

• Guido Draheim <guidod@gmx.de>
 

Copyright

Copyright (c) 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


 

Index

Synopsis
Description
Author
Copyright

This document was created by man2html, using the manual pages.
Time: 21:59:33 GMT, April 16, 2011