zzip_init_io(3)

zzip_init_io3

Init plugin struct.

Usage

#include <zzip/lib.h>

int
zzip_init_io(zzip_plugin_io_handlers_t io, int flags)
zzip_plugin_io_t
zzip_get_default_io(void)

Overview

The zzip_init_io function initializes the users handler struct to default values being the posix io functions in default configured environments.

Note that the target io_handlers_t structure should be static or atleast it should be kept during the lifetime of zzip operations.

The zzip_get_default_io function returns a zzip_plugin_io_t handle to static defaults wrapping the posix io file functions for actual file access. The returned structure is shared by all threads in the system.

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]> Mike Nordell <tamlin-@-algonet-se>

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