-

Difference between revisions of "Functions HI-TECH C UNGETC"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 00:20, 1 August 2017

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