DragonFly On-Line Manual Pages

Search: Section:  


ZZIP_FILE_REAL(3)            zziplib Function List           ZZIP_FILE_REAL(3)

NAME

zzip_file_real, zzip_dir_real, zzip_realdir, zzip_realfd - ...

SYNOPSIS

#include <zzip/lib.h> int zzip_file_real((ZZIP_FILE * fp)); int zzip_dir_real((ZZIP_DIR * dir)); void * zzip_realdir((ZZIP_DIR * dir)); int zzip_realfd((ZZIP_FILE * fp));

DESCRIPTION

The zzip_dir_real function checks if the ZZIP_DIR-handle is wrapping a real directory or a zip-archive. Returns 1 for a stat'able directory, and 0 for a handle to zip-archive. The zzip_realdir function returns the posix DIR* handle (if one exists). Check before with zzip_dir_real if the the ZZIP_DIR points to a real directory. The zzip_realfd function returns the posix file descriptor (if one exists). Check before with zzip_file_real if the the ZZIP_FILE points to a real file.

AUTHOR

o 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 zziplib 0.13.62 ZZIP_FILE_REAL(3)

Search: Section: