hypha: move libraries to libs/

This commit is contained in:
Alex Zenla committed 2024-02-01 10:10:43 +00:00
1 parent def4306a04
commit bd56de235f
36 files changed
+10 -10

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
use xenevtchn::error::Result;
use xenevtchn::EventChannel;
fn main() -> Result<()> {
let mut channel = EventChannel::open()?;
println!("Channel opened.");
let port = channel.bind_unbound_port(1)?;
println!("port: {}", port);
channel.unbind(port)?;
Ok(())
}