centos man page for zzip_fstat

Query: zzip_fstat

OS: centos

Section: 3

Links: centos man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ZZIP_DIR_STAT(3)					       zziplib Function List						  ZZIP_DIR_STAT(3)

NAME
zzip_dir_stat, zzip_file_stat, zzip_fstat - ...
SYNOPSIS
#include <zzip/lib.h> int zzip_dir_stat((ZZIP_DIR * dir, zzip_char_t * name, ZZIP_STAT * zs, int flags)); int zzip_file_stat((ZZIP_FILE * file, ZZIP_STAT * zs)); int zzip_fstat((ZZIP_FILE * file, ZZIP_STAT * zs));
DESCRIPTION
The zzip_file_stat 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. The zzip_fstat 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.
AUTHOR
o Guido Draheim <guidod@gmx.de> Tomi Ollila <Tomi.Ollila@iki.fi>
COPYRIGHT
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 zziplib 0.13.62 ZZIP_DIR_STAT(3)
Related Man Pages
zzip_fopen(3) - centos
zzip_open(3) - centos
zzip_telldir(3) - centos
zzip_fopen(3) - debian
zzip_open_shared_io(3) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
How to increment version inside a file?
Shopt -s histappend
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq