Query: zip_set_archive_flag
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ZIP_SET_ARCHIVE_FLAG(3) Library Functions Manual ZIP_SET_ARCHIVE_FLAG(3)NAMEzip_set_archive_flag - set zip archive flagLIBRARYlibzip (-lzip)SYNOPSIS#include <zip.h> int zip_set_archive_flag(struct zip *archive, int flag, int value);DESCRIPTIONThe 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 par- ticular, 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 VALUESUpon successful completion 0 is returned, and -1 if an error occurred.SEE ALSOlibzip(3), zip_get_archive_flag(3)AUTHORSDieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at> NiH June 4, 2008 ZIP_SET_ARCHIVE_FLAG(3)