From f6f0d24b5c76d462def9f4dea8521a55db20fd6f Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 22 Jan 2012 18:38:46 +0100 Subject: [PATCH] Added TERMMODE_NONBLOCK. This allows user-space to query whether data is available. --- sortix/termmode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sortix/termmode.h b/sortix/termmode.h index eb3c3e2f..c76f554a 100644 --- a/sortix/termmode.h +++ b/sortix/termmode.h @@ -31,6 +31,7 @@ #define TERMMODE_UTF8 (1U<<3U) #define TERMMODE_LINEBUFFER (1U<<4U) #define TERMMODE_ECHO (1U<<5U) +#define TERMMODE_NONBLOCK (1U<<6U) #endif