1ZIP_ADD_DIR(3) BSD Library Functions Manual ZIP_ADD_DIR(3)
2
4 zip_add_dir — add directory to zip archive (obsolete interface)
5
7 libzip (-lzip)
8
10 #include <zip.h>
11
12 zip_int64_t
13 zip_add_dir(zip_t *archive, const char *name);
14
16 The function zip_add_dir() is the obsolete version of zip_dir_add(3). It
17 is the same as calling zip_dir_add(3) with an empty flags argument.
18
20 libzip(3), zip_dir_add(3)
21
23 zip_add_dir() was added in libzip 0.8. In libzip 0.10 the return type
24 was changed from int to zip_int64_t. It was deprecated in libzip 0.11,
25 use zip_dir_add() instead.
26
28 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
29
30BSD December 18, 2017 BSD