1ZZIP_FILE_REAL(3) zziplib Function List ZZIP_FILE_REAL(3)
2
3
4
6 zzip_file_real, zzip_dir_real, zzip_realdir, zzip_realfd - ...
7
9 #include <zzip/lib.h>
10
11 int zzip_file_real((ZZIP_FILE * fp));
12
13 int zzip_dir_real((ZZIP_DIR * dir));
14
15 void * zzip_realdir((ZZIP_DIR * dir));
16
17 int zzip_realfd((ZZIP_FILE * fp));
18
20 The zzip_dir_real function checks if the ZZIP_DIR-handle is wrapping a
21 real directory or a zip-archive. Returns 1 for a stat'able directory,
22 and 0 for a handle to zip-archive.
23
24 The zzip_realdir function returns the posix DIR* handle (if one
25 exists). Check before with zzip_dir_real if the the ZZIP_DIR points to
26 a real directory.
27
28 The zzip_realfd function returns the posix file descriptor (if one
29 exists). Check before with zzip_file_real if the the ZZIP_FILE points
30 to a real file.
31
33 ยท Guido Draheim <guidod@gmx.de>
34
36 Copyright (c) 2000,2001,2002,2003 Guido Draheim All rights reserved,
37 use under the restrictions of the Lesser GNU General Public License or
38 alternatively the restrictions of the Mozilla Public License 1.1
39
40
41
42zziplib 0.13.62 ZZIP_FILE_REAL(3)