ZIP_LIBZIP_VERSION(3) Library Functions Manual ZIP_LIBZIP_VERSION(3)

zip_libzip_version
return run-time version of library

libzip (-lzip)

#include <zip.h>
const char *
zip_libzip_version(void);

zip_libzip_version returns the version number of the library as string in the format “$MAJOR.$MINOR.$MICRO$SUFFIX” where $MAJOR is the major version, $MINOR the minor, $MICRO the micro, and $SUFFIX a suffix that's only set for development versions.

libzip(3)

zip_libzip_version() was added in libzip 1.3.1.

Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
December 18, 2017 NetBSD 8.99.27