Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cbreak(3XC)

halfdelay(3XC)

NAME

halfdelay − enable/disable half-delay mode

SYNOPSIS

#include <curses.h>

int halfdelay(int tenths);

ARGUMENTS

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

DESCRIPTION

The halfdelay() function is similar to cbreak(3XC) 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(3XC) function should be used to leave half-delay mode. 

RETURN VALUES

On success, the halfdelay() function returns OK.  Otherwise, it returns ERR. 

ERRORS

None. 

SEE ALSO

cbreak(3XC)

SunOS 5.6  —  Last change: 1 Jun 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026