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
zzip_file_real(3) zziplib Function List zzip_file_real(3)

zzip_file_real, zzip_dir_real, zzip_realdir, zzip_realfd - check real or zipped file.

#include <zzip/lib.h>

int zzip_file_real(ZZIP_FILE * fp)
int zzip_dir_real(ZZIP_DIR * dir)
void * zzip_realdir(ZZIP_DIR * dir)
int zzip_realfd(ZZIP_FILE * fp)


The zzip_file_real function checks if the ZZIP_FILE-handle is wrapping a real file or a zip-contained file. Returns 1 for a stat'able file, and 0 for a file inside a zip-archive.

The zzip_dir_real function checks if the ZZIP_DIR-handle is wrapping a real directory or a zip-archive. Returns 1 for a stat'able directory, and 0 for a handle to zip-archive.

The zzip_realdir function returns the posix DIR* handle (if one exists). Check before with zzip_dir_real if the the ZZIP_DIR points to a real directory.

The zzip_realfd function returns the posix file descriptor (if one exists). Check before with zzip_file_real if the the ZZIP_FILE points to a real file.


Guido Draheim <guidod@gmx.de>


Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
0.13.69 zziplib

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.