echo(3X) echo(3X)
NAME
echo, noecho - enable/disable terminal echo
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int echo(void);
int noecho(void);
DESCRIPTION
The echo() function enables Echo mode for the current screen. The
noecho() function disables Echo mode for the current screen. Ini-
tially, 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.
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they
return ERR.
ERRORS
No errors are defined.
SEE ALSO
curses(3X), getch(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98