Reference

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 <[email protected]>

COPYRIGHT

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

History