| ZIP_SOURCE_AT_EOF(3) | Library Functions Manual | ZIP_SOURCE_AT_EOF(3) |
zip_source_at_eof —
check if zip source is at end-of-file
libzip (-lzip)
#include
<zip.h>
int
zip_source_at_eof(zip_source_t
*source);
The function
zip_source_at_eof()
check if the current position in the source is at end-of-file.
Return 1 if the source is at end-of-file, 0 if not, and -1 on error.
zip_source_at_eof() was added in libzip
1.12.
Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at>
If the source does not support
ZIP_SOURCE_AT_EOF, the library will try to read one
byte to check for end-of-file. This byte will be returned on the next
read.
| July 21, 2026 | NiH |