zzip_dir_free(3)

zzip_dir_free3

Usage

#include <zzip/lib.h>

int
zzip_dir_free(ZZIP_DIR* dir)
int
zzip_dir_close(ZZIP_DIR* dir)

Overview

The zzip_dir_free function will free the zzip_dir handle unless there are still zzip_files attached (that may use its cache buffer). This is the inverse of zzip_dir_alloc , and both are helper functions used implicitly in other zzipcalls e.g. zzip_dir_close = zzip_close

returns zero on success returns the refcount when files are attached.

It will also free(2) the ZZIP_DIR-handle given. the counterpart for zzip_dir_open see also zzip_dir_free

Releases

11 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1–4.0
  2. 5.0
  3. 6.0–7
  4. 8
  5. 9–11
  6. 12
  7. 13

Author

Guido Draheim <[email protected]> Tomi Ollila <[email protected]>

From libzzip-dev 0.13.78+dfsg.1-0.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.