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_rewinddir, zzip_telldir, zzip_seekdir, zzip_telldir32, zzip_seekdir32 - rewind.

Author

        Guido Draheim <guidod@gmx.de>

Description

        The zzip_rewinddir function is the equivalent of a rewinddir(2) for a realdir or the zipfile in place of
       a directory. The ZZIP_DIR handle returned from zzip_opendir has a flag saying realdir or zipfile. As for
       a zipfile, the filenames will include the filesubpath, so take care.

        The zzip_telldir function is the equivalent of telldir(2) for a realdir or zipfile.

        The zzip_seekdir function is the equivalent of seekdir(2) for a realdir or zipfile.

        The zzip_telldir32 function is provided for users who can not use any largefile-mode.

        The zzip_seekdir32 function is provided for users who can not use any largefile-mode.

Name

       zzip_rewinddir, zzip_telldir, zzip_seekdir, zzip_telldir32, zzip_seekdir32 -  rewind.

Synopsis

#include<zzip/lib.h>

       void
       zzip_rewinddir(ZZIP_DIR* dir)

       zzip_off_t
       zzip_telldir(ZZIP_DIR* dir)

       void
       zzip_seekdir(ZZIP_DIR* dir, zzip_off_t offset)

       long
       zzip_telldir32(ZZIP_DIR* dir)

       void
       zzip_seekdir32(ZZIP_DIR* dir, long offset)

See Also