aa_getevent(3)

aa_getevent3

Keyboard functions

Usage

#include <aalib.h>

int aa_getevent
(

aa_context *c,

int wait
);

Parameters

aa_context *c

Specifies the AA-lib context to operate on.

int wait

1 if you wish to wait for the even when queue is empty.

Overview

Return next event from queue. Return next even from queue. Optionally wait for even when queue is empty.

Returns

Next event from queue (values lower than 256 are used to report ascii values of pressed keys and higher values have special meanings) See the AA-lib texinfo documentation for more details. 0 is returned when queue is empty and wait is set to 0.

Releases

Unchanged in 13 releases since Debian 3.0 (Woody).

  1. 3.0–Arch

From aalib 1.4rc5-19 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.