zzip_rewinddir(3)
β¨ zzip_rewinddir β bestie edition β¨
okay so you're in the zzip part of the manual, page zzip_rewinddir(3), and it's literally from the zziplib Function List. sit down, grab a strawberry π, we're doing directory rewind but make it cute.
πΈ NAME πΈ
zzip_rewinddir, zzip_telldir, zzip_seekdir, zzip_telldir32, zzip_seekdir32 β rewind. yeah. that's the whole vibe. the way that one word carries five functions π
π 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)
look at her. five little signatures. no cap, that's the whole roster π
π DESCRIPTION π
So zzip_rewinddir is giving rewinddir(2), but for a realdir or for a zipfile that's standing in for a directory. iconic behaviour honestly.
The ZZIP_DIR handle you get back from zzip_opendir has a flag on it saying whether it's a realdir or a zipfile β she tells you which one she is, she's not mysterious like that.
π«Ά heads up bestie: when it's a zipfile, the filenames will include the filesubpath. so take care. fr fr, don't get caught out. π
zzip_telldir is the equivalent of telldir(2) for a realdir or zipfile. tell me where we are, queen.
zzip_seekdir is the equivalent of seekdir(2) for a realdir or zipfile. jump to it. slay.
zzip_telldir32 is there for the users who can not use any largefile-mode. she's the accessible option, we love her for it. π
zzip_seekdir32 is also for the users who can not use any largefile-mode. same energy, matching set. π
β AUTHOR β
Guido Draheim <guidod@gmx.de> β the icon who made all of this happen. bow down. π
π COPYRIGHT π
Copyright (c) Guido Draheim, use under copyleft (LGPL, MPL). read it, respect it, love it.
and that's the tea, bestie π¦ this was page zzip_rewinddir(3) from zziplib, version 0.13.78, and yes she is exactly as iconic as she sounds. mwah. πβ¨
π¦ where this page comes from
- centos-stream 10: zziplib-devel 0.13.78-2.el10 Β· LGPL-2.0-or-later OR MPL-1.1
- debian trixie: libzzip-dev 0.13.78+dfsg.1-0.1 Β· ZZIP
- fedora 43: zziplib-devel 0.13.78-2.fc43 Β· LGPL-2.0-or-later OR MPL-1.1
- fedora 43: zziplib-devel 0.13.78-2.fc43 Β· LGPL-2.0-or-later OR MPL-1.1
- fedora 44: zziplib-devel 0.13.78-4.fc44 Β· LGPL-2.0-or-later OR MPL-1.1
- fedora 44: zziplib-devel 0.13.78-4.fc44 Β· LGPL-2.0-or-later OR MPL-1.1
- opensuse-leap 16.0: zziplib-devel 0.13.78-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: zziplib-devel 0.13.78-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: zziplib-devel 0.13.78-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: zziplib-devel 0.13.78-160000.2.2 Β· LGPL-2.1-or-later
- ubuntu questing: libzzip-dev 0.13.78+dfsg.1-0.1
- ubuntu resolute: libzzip-dev 0.13.78+dfsg.1-0.2 Β· ZZIP
- ubuntu stonking: libzzip-dev 0.13.78+dfsg.1-0.2 Β· ZZIP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms