-

Functions HI-TECH C GETCHAR

From HI-TECH C for CP/M Fan WIKI(EN)
Revision as of 20:17, 31 July 2017 by Kumokosi (talk | contribs) (Created page with "<strong>GETCHAR</strong> ==SYNOPSIS== #include <stdio.h> int getchar(void) ==DESCRIPTION== <strong>Getchar</strong>() is a <strong>getc(stdin)</strong> operation. It...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GETCHAR

SYNOPSIS

#include  <stdio.h>

int getchar(void)


DESCRIPTION

Getchar() is a getc(stdin) operation. It is a macro defined in stdio.h. Note that under normal circumstances getchar() will NOT return unless a carriage return has been typed on the console. To get a single character immediately from the console, use the routine getch().

SEE ALSO

getc, fgetc, freopen, fclose