zip_source_commit_write(3) finalize changes to zip source

LIBRARY

libzip (-lzip)

SYNOPSIS

#include <zip.h>

int

zip_source_commit_write(zip_source_t *source);

DESCRIPTION

The function zip_source_commit_write() finishes writing data to source and replaces the original with the newly written data.

RETURN VALUES

Upon successful completion 0 is returned. Otherwise, -1 is returned and the error information in source is set to indicate the error.

AUTHORS

Dieter Baron <[email protected]> and Thomas Klausner <[email protected]>