-

Functions HI-TECH C GETCHAR

From HI-TECH C for CP/M Fan WIKI(EN)
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