1ZIP_STAT_INIT(3) BSD Library Functions Manual ZIP_STAT_INIT(3)
2
4 zip_stat_init — initialize zip_stat structure
5
7 libzip (-lzip)
8
10 #include <zip.h>
11
12 void
13 zip_stat_init(zip_stat_t *sb);
14
16 The zip_stat_init() function initializes the members of a struct
17 zip_stat. The current members are described in zip_stat(3), but this
18 function should be used to initialize it to make sure none are missed.
19 The structure pointed to by sb must be allocated before calling
20 zip_stat_init().
21
22 This function should be used by functions provided to
23 zip_source_function(3) when returning ZIP_SOURCE_STAT information to make
24 sure all fields are initialized.
25
27 If sb is valid, the function is always successful.
28
30 libzip(3), zip_stat(3)
31
33 zip_stat_init() was added in libzip 0.8.
34
36 Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
37
38BSD December 18, 2017 BSD