go to
> libzip(3)
> zip_error_get(3)
> zip_error_get_sys_type(3)
> zip_file_error_get(3)
> zip_file_strerror(3)
Homepage > Man Pages > Category > Subroutines
Homepage > Man Pages > Name > Z

zip_error_to_str

man page of zip_error_to_str

zip_error_to_str: get string representation of zip error

NAME
zip_error_to_str - get string representation of zip error
LIBRARY
libzip (-lzip)

SYNOPSIS

#include <zip.h> int zip_error_to_str(char *buf, int len, int ze, int se);

DESCRIPTION

The zip_error_to_str function stores a string describing the libzip error code ze in the user-provided buffer buf which has size len. The buffer is always NUL-terminated. se should be the value of the global variable errno at the time of the error or the zlib error code, depending on ze. zip_error_to_str is especially useful if zip_open failed, since then there is no is available to store the error code; otherwise zip_strerror or zip_file_strerror are more convenient.

RETURN VALUES

zip_error_to_str returns the number of characters that would have been written to a sufficiently sized buf, excluding the terminating NUL character.

SEE ALSO

libzip(3), zip_error_get(3), zip_error_get_sys_type(3), zip_file_error_get(3), zip_file_strerror(3), zip_open(3), zip_strerror(3)
AUTHORS
Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at> ZIP_ERROR_TO_STR(3)
 
 
 

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 19.33ms.

www.daelim-forum.com | brennholz-eichelberg.de | generiere.de