HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
e
echo(3X) echo(3X)
(CURSES)
NAME
echo, noecho — enable/disable terminal echo
SYNOPSIS
#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. Initially, curses software echo mode is enabled and hardware echo mode of
the tty driver is disabled.
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they return ERR.
ERRORS
No errors are defined.
SEE ALSO
getch(3X), curses_intro(3X), subsection called Input Processing, <curses.h>, X/Open System Interface
Definitions, Issue 4, Version 2 specification, Section 9.2, Parameters That Can Be Set.
CHANGE HISTORY
First released in Issue .
X/Open Curses, Issue 4
The entry is rewritten for clarity. The argument list for the
echo() and noecho() functions is expli-
citly declared as void.
Section 3164 1 HP-UX Release 11i: December 2000
___
___