From 3971bb414fbdac8e4aa485d5fbba80b46e44ff30 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sun, 20 May 2018 16:26:13 -0600 Subject: [PATCH] Remove fevent --- Cargo.toml | 2 +- src/call.rs | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cb0381e..705b59b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "redox_syscall" -version = "0.1.37" +version = "0.1.38" description = "A Rust library to access raw Redox system calls" license = "MIT" authors = ["Jeremy Soller "] diff --git a/src/call.rs b/src/call.rs index 8c19f0b..ee7e69d 100644 --- a/src/call.rs +++ b/src/call.rs @@ -100,11 +100,6 @@ pub fn fcntl(fd: usize, cmd: usize, arg: usize) -> Result { unsafe { syscall3(SYS_FCNTL, fd, cmd, arg) } } -/// Register a file for event-based I/O -pub fn fevent(fd: usize, flags: usize) -> Result { - unsafe { syscall2(SYS_FEVENT, fd, flags) } -} - /// Map a file into memory pub unsafe fn fmap(fd: usize, offset: usize, size: usize) -> Result { syscall3(SYS_FMAP, fd, offset, size)