echo, noecho - enable/disable terminal echo
#include <curses.h> int echo(void); int noecho(void);
The echo() function enables Echo mode for the current screen. The noecho() function disables Echo mode for the current screen. Initially, curses software echo mode is enabled and hardware echo mode of the tty driver is disabled. echo() and noecho() control software echo only. Hardware echo must remain disabled for the duration of the application, else the behaviour is undefined.
Upon successful completion, these functions return OK. Otherwise, they return ERR.
No errors are defined.
Input Processing , getch(), <curses.h>, XBD specification, Parameters that Can be Set .