1zzip_file_real(3)            zziplib Function List           zzip_file_real(3)
2
3
4

NAME

6       zzip_file_real, zzip_dir_real, zzip_realdir, zzip_realfd -  check real
7       or zipped file.
8

SYNOPSIS

10       #include <zzip/lib.h>
11
12
13       int
14       zzip_file_real(ZZIP_FILE * fp)
15
16       int
17       zzip_dir_real(ZZIP_DIR * dir)
18
19       void *
20       zzip_realdir(ZZIP_DIR * dir)
21
22       int
23       zzip_realfd(ZZIP_FILE * fp)
24
25
26
27

DESCRIPTION

29        The zzip_file_real function checks if the ZZIP_FILE-handle is wrapping
30       a real file or a zip-contained file. Returns 1 for a stat'able file,
31       and 0 for a file inside a zip-archive.
32
33        The zzip_dir_real function checks if the ZZIP_DIR-handle is wrapping a
34       real directory or a zip-archive. Returns 1 for a stat'able directory,
35       and 0 for a handle to zip-archive.
36
37        The zzip_realdir function returns the posix DIR* handle (if one
38       exists). Check before with zzip_dir_real if the the ZZIP_DIR points to
39       a real directory.
40
41        The zzip_realfd function returns the posix file descriptor (if one
42       exists). Check before with zzip_file_real if the the ZZIP_FILE points
43       to a real file.
44
45
46

AUTHOR

48        Guido Draheim <guidod@gmx.de>
49
50
51
53        Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
54
55
56
57
58
59zziplib                             0.13.72                  zzip_file_real(3)
Impressum