Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getch(3XC)

halfdelay(3XC)

notimeout(3XC)

nodelay(3XC)

NAME

nodelay − set blocking or non-blocking read

SYNOPSIS

#include <curses.h>

int nodelay(WINDOW ∗win, bool bf);

ARGUMENTS

winIs a pointer to the window in which to enable non-blocking. 

bfIs a Boolean expression. 

DESCRIPTION

If enabled, (bf is TRUE), the nodelay() function causes getch(3XC) to return ERR if no input is ready.  When disabled, getch() blocks until a key is pressed. 

RETURN VALUES

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

ERRORS

None. 

SEE ALSO

getch(3XC), halfdelay(3XC), notimeout(3XC)

SunOS 5.6  —  Last change: 1 Jun 1996

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