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 callback  

LIBRARY

libzip -lzip)  

SYNOPSIS

In zip.h Ft type * Fn ZIP_SOURCE_GET_ARGS type void *data zip_uint64_t len zip_error_t *error  

DESCRIPTION

The Fn ZIP_SOURCE_GET_ARGS macro casts data to a pointer to type  

RETURN VALUES

On success, Fn ZIP_SOURCE_GET_ARGS returns data In case of error, it returns NULL and sets error  

ERRORS

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_function3  

HISTORY

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


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUES
ERRORS
SEE ALSO
HISTORY
AUTHORS