halfdelay(3X) halfdelay(3X)
NAME
halfdelay - control input character delay mode
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int halfdelay(int tenths);
DESCRIPTION
The halfdelay() function sets the input mode for the current window to
Half-Delay Mode and specifies tenths tenths of seconds as the half-
delay interval. The tenths argument must be in a range from 1 up to
and including 255.
RETURN VALUE
Upon successful completion, halfdelay() returns OK. Otherwise, it
returns ERR.
ERRORS
No errors are defined.
NOTES
The application can call nocbreak() to leave Half-Delay mode.
SEE ALSO
cbreak(3X), curses(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98