Functions HI-TECH C UNGETC

Revision as of 00:20, 1 August 2017 by Kumokosi (talk | contribs) (Created page with "<strong>UNGETC</strong> ==SYNOPSIS== #include <stdio.h> int ungetc(int c, FILE * stream) ==DESCRIPTION== <strong>Ungetc</strong>() will attempt to push back the charac...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UNGETC

SYNOPSIS

#include  <stdio.h>

int ungetc(int c, FILE * stream)


DESCRIPTION

Ungetc() will attempt to push back the character c onto the named stream, such that a subsequent getc() operation will return the character. At most one level of pushback will be allowed, and if the stream is not buffered, even this may not be possible. EOF is returned if the ungetc() could not be performed.

SEE ALSO

getc