zzip_telldir(3)

rewind.

Section 3 libzzip-dev bookworm source

Description

zzip_rewinddir

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)