logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

__zzip_try_open.3

Author

        Guido Draheim <guidod@gmx.de> Tomi Ollila <too@iki.fi>

Description

        The __zzip_try_open function will attach any of the .zip extensions then trying to open it the with
       open(2). This is a helper function for zzip_dir_open, zzip_opendir and zzip_open.

        The __zzip_try_open function returns a new system file handle or -1 on error. On error the
       __zzip_try_open function leaves the errno(3) of the underlying open(2) call on the last file.

Name

       __zzip_try_open -  internal.

Synopsis

#include<zzip/lib.h>

       int
       __zzip_try_open(zzip_char_t* filename, int filemode, zzip_strings_t* ext, zzip_plugin_io_t io)

See Also