-

Functions HI-TECH C CGETS

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

CGETS, CPUTS

SYNOPSIS

#include  <conio.h>

char *    cgets(char * s)

void      cputs(char * s)


DESCRIPTION

Cputs() will read one line of input from the console into the buffer passed as an argument. It does so by repeated calls to getche(). Cputs() writes its argument string to the console, outputting carriage returns before each newline in the string. It calls putch() repeatedly.

SEE ALSO

getch, getche, putch