DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

halfdelay(CURSES)


halfdelay -- control input character delay mode

Synopsis

cc [options] file -lcurses
#include <curses.h>

int halfdelay(int tenths);

Description

The halfdelay(CURSES) 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(CURSES) returns OK. Otherwise, it returns ERR.

Errors

No errors are defined.

Usage

The application can call nocbreak(CURSES) to leave Half-Delay mode.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

``Input Mode'', cbreak(CURSES), curses(F), termio(HW), ``General terminal interface'' in Programming with system calls and libraries
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005