---
name: "zzip_rewinddir"
section: "3"
platform: "linux"
package: "libzzip-dev"
version: "0.13.78+dfsg.1-0.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/zzip_rewinddir"
---

# zzip\_rewinddir(3)

rewind.

## 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)
```

## 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.

## AUTHOR

 Guido Draheim \<guidod@gmx.de\>

## COPYRIGHT

 Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
