'\" t .\" Title: zzip_dir_stat .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets v1.75.2 .\" Date: 0.13.62 .\" Manual: zziplib Function List .\" Source: zziplib .\" Language: English .\" .TH "ZZIP_DIR_STAT" "3" "0\&.13\&.62" "zziplib" "zziplib Function List" .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" zzip_dir_stat, zzip_file_stat, zzip_fstat \- \&.\&.\&. .SH "SYNOPSIS" .sp .ft B .nf #include .fi .ft .HP \w'int\ zzip_dir_stat('u .BI "int zzip_dir_stat((ZZIP_DIR\ *\ dir,\ zzip_char_t\ *\ name,\ ZZIP_STAT\ *\ zs,\ int\ flags));" .HP \w'int\ zzip_file_stat('u .BI "int zzip_file_stat((ZZIP_FILE\ *\ file,\ ZZIP_STAT\ *\ zs));" .HP \w'int\ zzip_fstat('u .BI "int zzip_fstat((ZZIP_FILE\ *\ file,\ ZZIP_STAT\ *\ zs));" .SH "DESCRIPTION" .PP The \fBzzip_file_stat\fR function will obtain information about a opened file _within_ a zip\-archive\&. The file is supposed to be open (otherwise \-1 is returned)\&. The st_size stat\-member contains the uncompressed size\&. The optional d_name is never set here\&. .PP The \fBzzip_fstat\fR function will obtain information about a opened file which may be either real/zipped\&. The file is supposed to be open (otherwise \-1 is returned)\&. The st_size stat\-member contains the uncompressed size\&. The optional d_name is never set here\&. For a real file, we do set the d_csize := st_size and d_compr := 0 for meaningful defaults\&. .SH "AUTHOR" .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} Guido Draheim Tomi Ollila .RE .SH "COPYRIGHT" .PP Copyright (c) 1999,2000,2001,2002 Guido Draheim All rights reserved, use under the restrictions of the Lesser GNU General Public License or alternatively the restrictions of the Mozilla Public License 1\&.1