1 .TH "ZIP_FILE_SET_MTIME" "3" "August 5, 2014" "NiH" "Library Functions Manual"
5 \fBzip_file_set_mtime\fR
6 \- set last modification time (mtime) for file in zip
10 \fB#include <zip.h>\fR
15 \fBzip_set_file_mtime\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fItime_t\ mtime\fR, \fIzip_flags_t\ flags\fR);
19 \fBzip_file_set_mtime\fR()
20 function sets the last modification time (mtime) for the file at
25 Currently, no support for any
29 Upon successful completion 0 is returned.
30 Otherwise, \-1 is returned and the error information in
32 is set to indicate the error.
34 \fBzip_file_set_mtime\fR()
39 is not a valid file index in
43 Required memory could not be allocated.
48 was opened in read-only mode.
53 Dieter Baron <\fIdillo@nih.at\fR>
55 Thomas Klausner <\fItk@giga.or.at\fR>