www.LinuxHowtos.org
ZIP_SOURCE_GET_ARGS
Section: C Library Functions (3)Index Return to Main Contents
BSD mandoc
NAME
ZIP_SOURCE_GET_ARGS - validate and cast arguments to source callbackLIBRARY
libzip -lzip)SYNOPSIS
In zip.h Ft type * Fn ZIP_SOURCE_GET_ARGS type void *data zip_uint64_t len zip_error_t *errorDESCRIPTION
The Fn ZIP_SOURCE_GET_ARGS macro casts data to a pointer to typeRETURN VALUES
On success, Fn ZIP_SOURCE_GET_ARGS returns data In case of error, it returns NULL and sets errorERRORS
Fn ZIP_SOURCE_GET_ARGS fails if:- Bq Er ZIP_ER_INVAL
- len is less than the size of type
SEE ALSO
libzip(3), zip_source_function3HISTORY
Fn ZIP_SOURCE_GET_ARGS was added in libzip 1.0.AUTHORS
An -nosplit An Dieter Baron Aq Mt dillo@nih.at and An Thomas Klausner Aq Mt wiz@gatalith.at