from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209582

userrating:


May 25th. 2007:
Words

486

Views

258591

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149880

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





ZIP_SOURCE_SEEK_COMPUTE_OFFSET

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

zip_source_seek_compute_offset - validate arguments and compute offset  

LIBRARY

libzip -lzip)  

SYNOPSIS

In zip.h Ft zip_int64_t Fn zip_source_seek_compute_offset zip_uint64_t offset zip_uint64_t length void *data zip_uint64_t data_length zip_error_t *error  

DESCRIPTION

Use this function to compute the offset for a ZIP_SOURCE_SEEK or ZIP_SOURCE_SEEK_WRITE command. data and data_length are the arguments to the source callback, offset is the current offset and length is the length of the source data or, for ZIP_SOURCE_SEEK_WRITE the amount of data written.  

RETURN VALUES

On success, it returns the new offset, on error it returns -1 and sets error  

ERRORS

Fn zip_source_seek_compute_offset fails if:

Bq Er ZIP_ER_INVAL
One of the arguments is invalid or the seek would place the offset outside the data.

 

SEE ALSO

zip_source_function3  

HISTORY

Fn zip_source_seek_compute_offset was added in libzip 1.0.  

AUTHORS

An -nosplit An Dieter Baron Aq Mt dillo@nih.at and An Thomas Klausner Aq Mt wiz@gatalith.at


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUES
ERRORS
SEE ALSO
HISTORY
AUTHORS





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 12.5 ms