ZIP_STAT_INIT

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

zip_stat_init - initialize zip_stat structure  

LIBRARY

libzip (-lzip)  

SYNOPSIS

In zip.h Ft void Fn zip_stat_init zip_stat_t *sb  

DESCRIPTION

The Fn zip_stat_init function initializes the members of a struct zip_stat. The current members are described in zip_stat3, but this function should be used to initialize it to make sure none are missed. The structure pointed to by sb must be allocated before calling Fn zip_stat_init .

This function should be used by functions provided to zip_source_function3 when returning ZIP_SOURCE_STAT information to make sure all fields are initialized.  

RETURN VALUES

If sb is valid, the function is always successful.  

SEE ALSO

libzip(3), zip_stat3  

HISTORY

Fn zip_stat_init was added in libzip 0.8.  

AUTHORS

An -nosplit An Dieter Baron Aq Mt dillo@nih.at and An Thomas Klausner Aq Mt tk@giga.or.at


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
HISTORY
AUTHORS

This document was created by man2html, using the manual pages.
Time: 05:41:41 GMT, May 18, 2024