The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


halfdelay - control input character delay mode


#include <curses.h>

int halfdelay(int tenths);


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.


Upon successful completion, halfdelay() returns OK. Otherwise, it returns ERR.


No errors are defined.


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


Input Mode , cbreak(), <curses.h> XBD specification, General Terminal Interface  .

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]