Poster of Linux kernelThe best gift for a Linux geek
ZIP_SET_ARCHIVE_FLAG

ZIP_SET_ARCHIVE_FLAG

Section: C Library Functions (3) Updated: June 4, 2008
Local index Up
 

NAME

zip_set_archive_flag - set zip archive flag  

LIBRARY

libzip (-lzip)  

SYNOPSIS

#include <zip.h>

int zip_set_archive_flag(struct zip *archive, int flag, int value);  

DESCRIPTION

The zip_set_archive_flag function sets the flag flag for the archive archive to the value value.

Supported flags are:

ZIP_AFL_TORRENT
Create a torrent-zipped archive. This restricts the values that can be set from the application side. In particular, time stamps are not saved and the order of the files in the archive is alphabetical. No file comments or extended attributes are allowed and the archive comment can not be chosen.
 

RETURN VALUES

Upon successful completion 0 is returned, and -1 if an error occurred.  

SEE ALSO

libzip(3), zip_get_archive_flag(3)  

AUTHORS

Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
AUTHORS

This document was created by man2html, using the manual pages.
Time: 21:59:26 GMT, April 16, 2011