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:

209584

userrating:


May 25th. 2007:
Words

486

Views

258592

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:

149881

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





ZIP_FREAD

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

BSD mandoc
 

NAME

zip_fread - read from file  

LIBRARY

libzip -lzip)  

SYNOPSIS

In zip.h Ft zip_int64_t Fn zip_fread zip_file_t *file void *buf zip_uint64_t nbytes  

DESCRIPTION

The Fn zip_fread function reads up to nbytes bytes from file into buf from the current position in the file (see zip_fseek3). After reading, the current position is updated by the number of bytes read.  

RETURN VALUES

If successful, the number of bytes actually read is returned. When Fn zip_fread is called after reaching the end of the file, 0 is returned. In case of error, -1 is returned.  

SEE ALSO

libzip(3), zip_fclose3, zip_file_get_error3, zip_fopen3, zip_fseek3  

HISTORY

Fn zip_fread was added in libzip 0.6. In libzip 0.10 the return type was changed from Vt ssize_t to Vt zip_int64_t . In libzip 0.10 the type of nbytes was changed from Vt size_t to Vt zip_uint64_t .  

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
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: 13.7 ms