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
________________________________________________________________
___ ___
h
halfdelay(3X) halfdelay(3X)
(ENHANCED CURSES)
NAME
halfdelay — control input character delay mode
SYNOPSIS
#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.
APPLICATION USAGE
The application can call
nocbreak() to leave Half-Delay mode.
SEE ALSO
cbreak(3X), curses_intro(3X), see Input Mode, <curses.h>, X/Open System Interface Definitions, Issue 4,
Version 2 specification, Chapter 9, General Terminal Interface.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
HP-UX Release 11i: December 2000 − 1 − Section 3−−425
___
___