From 57d8d7161708683177445b26d4a9b2b3f4eac7bc Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 22 Sep 2016 10:10:27 -0600 Subject: [PATCH] Add wnohang, make PS/2 driver write input to display scheme, which then passes it to the shell --- src/flag.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flag.rs b/src/flag.rs index 5351384..52db74c 100644 --- a/src/flag.rs +++ b/src/flag.rs @@ -41,3 +41,5 @@ pub const O_FSYNC: usize = 0x80; pub const O_CREAT: usize = 0x200; pub const O_TRUNC: usize = 0x400; pub const O_EXCL: usize = 0x800; + +pub const WNOHANG: usize = 1;