Name

gzungetc - Push one character back onto the stream to be read again later.

Synopsis

int ZEXPORT gzungetc(int c, gzFile file);

Detailed Description

Push one character back onto the stream to be read again later. Only one character of push-back is allowed. gzungetc() returns the character pushed, or -1 on failure. gzungetc() will fail if a character has been pushed but not read yet, or if c is -1. The pushed character will be discarded if the stream is repositioned with egzsek() or gzrewind().

Parameters

int c

character

gzFile file gzip file
 

Return value

int ZEXPORT gzungetc returns the character pushed, or -1 on failure
 

Feedback

For additional information or queries on this page send feedback

© 2008-2009 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user.

Top