Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

typeahead(3cur)

flushinp(3cur)

Name

flushinp − discard typeahead

Syntax

#include <cursesX.h>

int flushinp()

Description

Any typeahead input that has not been read by the program is discarded. 

Return Values

The flushinp function returns OK on success and ERR on error.

See Also

typeahead(3cur)

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