HP 3000 Manuals

halfdelay [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

halfdelay 

The halfdelay routine is used to enable and disable the half-delay mode.

Syntax 

     #include <curses.h>

     int halfdelay(int tenths);

Parameters 

tenths                The number of tenths of seconds for which to block
                      input (1 to 255).

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The halfdelay() routine is similar to cbreak() in that when set,
characters typed by the user are immediately processed by the program.
The difference is that ERR is returned if no input is received after
tenths tenths seconds.

The nocbreak() routine should be used to leave the half-delay mode.

Implementation Considerations 

UNIX System V implementation

See Also 

cbreak(), wgetch()

Portability 

UNIX System V



MPE/iX 5.0 Documentation