Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ notimeout(3X) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

getch(3X)

halfdelay(3X)

nodelay(3X)

curses(5)

notimeout(3X)                                                 notimeout(3X)

NAME
     notimeout, timeout, wtimeout - control blocking on input

SYNOPSIS
     cc [flag ...] file ... -lcurses [library ...]

     #include <curses.h>

     int notimeout(WINDOW *win, bool bf);

     void timeout(int delay);

     void wtimeout(WINDOW *win, int delay);

DESCRIPTION
     The notimeout() function specifies whether Timeout Mode or No Timeout
     Mode is in effect for the screen associated with the specified window.
     If bf is TRUE, this screen is set to No Timeout Mode. If bf is FALSE,
     this screen is set to Timeout Mode. The initial state is FALSE.

     The timeout() and wtimeout() functions set blocking or non-blocking
     read for the current or specified window based on the value of delay:

     -  One or more blocking reads (indefinite waits for input) are used.

     -  One or more non-blocking reads are used. Any Curses input function
        will fail if every character of the requested string is not immedi-
        ately available.

     -  Any Curses input function blocks for delay milliseconds and fails
        if there is still no input.

RETURN VALUE
     Upon successful completion, the notimeout() function returns OK. Oth-
     erwise, it returns ERR.

     The timeout() and wtimeout() functions do not return a value.

ERRORS
     No errors are defined.

SEE ALSO
     curses(3X), getch(3X), halfdelay(3X), nodelay(3X), curses(5).












Page 1                       Reliant UNIX 5.44                Printed 11/98

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