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

 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

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 ]