from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
|
You are here: manpages
ZIP_ERROR_TO_STR
Section: C Library Functions (3) Index
Return to Main Contents
BSD mandoc
NAME
zip_error_to_str
- get string representation of zip error (obsolete interface)
LIBRARY
libzip -lzip)
SYNOPSIS
In zip.h
Ft int
Fn zip_error_to_str char *buf zip_uint64_t len int ze int se
DESCRIPTION
The function
Fn zip_error_to_str
is deprecated; use
zip_error_init_with_code3
and
zip_error_strerror3
instead.
Replace
char buf[BUFSIZE];
zip_error_to_str(buf, sizeof(buf), ze, se);
printf("%s", buf);
with
zip_error_t error;
zip_error_init_with_code(&error, ze);
printf("%s", zip_error_strerror(&error));
zip_error_fini(&error);
SEE ALSO
libzip(3),
zip_error_init_with_code3,
zip_error_strerror3
HISTORY
Fn zip_error_to_str
was added in libzip 0.6.
In libzip 0.10 the type of
len
was changed from
Vt size_t
to
Vt zip_uint64_t .
It was deprecated in libzip 1.0, use
Fn zip_error_init_with_code
and
Fn zip_error_strerror
instead.
AUTHORS
An -nosplit
An Dieter Baron Aq Mt dillo@nih.at
and
An Thomas Klausner Aq Mt wiz@gatalith.at
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- HISTORY
-
- AUTHORS
-
|