---
name: "zip_source_is_seekable"
section: "3"
platform: "linux"
package: "libzip"
version: "1.11.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/zip_source_is_seekable"
---

# zip\_source\_is\_seekable(3)

check if a source supports seeking

## NAME

**zip\_source\_is\_seekable** – check if a source supports seeking

## LIBRARY

libzip (-lzip)

## SYNOPSIS

**#include \<zip.h\>**

*int*\

**zip\_source\_is\_seekable**(*zip\_source\_t \*source*);

## DESCRIPTION

The function **zip\_source\_is\_seekable**() checks if *source* supports seeking via [zip\_source\_seek(3)](/zip_source_seek/3.md).

## RETURN VALUES

If the source supports seeking, 1 is returned. Otherwise, 0 is returned.

## SEE ALSO

[libzip(3)](/libzip/3.md), [zip\_source(5)](/zip_source/5.md), [zip\_source\_seek(3)](/zip_source_seek/3.md)

## HISTORY

**zip\_source\_is\_seekable**() was added in libzip 1.10.0.

## AUTHORS

Dieter Baron ⟨*dillo@nih.at*⟩ and Thomas Klausner ⟨*wiz@gatalith.at*⟩
