zip_source_seek_compute_offset man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

ZIP_SOURCE_SEEK_COMPUTE_OFFSET(1)    LOCAL   ZIP_SOURCE_SEEK_COMPUTE_OFFSET(1)

NAME
       zip_source_seek_compute_offset - validate arguments and compute offset

LIBRARY
       libzip (-lzip)

SYNOPSIS
       zip.h  zip_int64_t  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
       zip_source_seek_compute_offset fails if:

       [ZIP_ER_INVAL]	One of the arguments is	 invalid  or  the  seek	 would
			place the offset outside the data.

SEE ALSO
       zip_source_function(3)

AUTHORS
       Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>

NiH			       November 13, 2ZIP_SOURCE_SEEK_COMPUTE_OFFSET(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net