GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ZIP_SOURCE_GET_ARGS(3) FreeBSD Library Functions Manual ZIP_SOURCE_GET_ARGS(3)

ZIP_SOURCE_GET_ARGS
validate and cast arguments to source callback

libzip (-lzip)

#include <zip.h>

type *
ZIP_SOURCE_GET_ARGS(type, void *data, zip_uint64_t len, zip_error_t *error);

The ZIP_SOURCE_GET_ARGS() macro casts data to a pointer to type.

On success, ZIP_SOURCE_GET_ARGS() returns data. In case of error, it returns NULL and sets error.

ZIP_SOURCE_GET_ARGS() fails if:
[]
len is less than the size of type

libzip(3), zip_source_function(3)

ZIP_SOURCE_GET_ARGS() was added in libzip 1.0.

Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
December 18, 2017 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.