Manpages - zip_source_begin_write.3

libzip (-lzip)

The functions

and

prepare

for writing. Usually this involves creating temporary files or allocating buffers.

preserves the first

bytes of the original file. This is done efficiently, and writes to

won’t overwrite the original data until

is called.

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

is set to indicate the error.

was added in libzip 1.0.

was added in libzip 1.4.0.

and

Author: dt

Created: 2022-02-21 Mon 12:06