Commit 3971bb41 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Remove fevent

parent 7dc00e7e
[package] [package]
name = "redox_syscall" name = "redox_syscall"
version = "0.1.37" version = "0.1.38"
description = "A Rust library to access raw Redox system calls" description = "A Rust library to access raw Redox system calls"
license = "MIT" license = "MIT"
authors = ["Jeremy Soller <jackpot51@gmail.com>"] authors = ["Jeremy Soller <jackpot51@gmail.com>"]
......
...@@ -100,11 +100,6 @@ pub fn fcntl(fd: usize, cmd: usize, arg: usize) -> Result<usize> { ...@@ -100,11 +100,6 @@ pub fn fcntl(fd: usize, cmd: usize, arg: usize) -> Result<usize> {
unsafe { syscall3(SYS_FCNTL, fd, cmd, arg) } unsafe { syscall3(SYS_FCNTL, fd, cmd, arg) }
} }
/// Register a file for event-based I/O
pub fn fevent(fd: usize, flags: usize) -> Result<usize> {
unsafe { syscall2(SYS_FEVENT, fd, flags) }
}
/// Map a file into memory /// Map a file into memory
pub unsafe fn fmap(fd: usize, offset: usize, size: usize) -> Result<usize> { pub unsafe fn fmap(fd: usize, offset: usize, size: usize) -> Result<usize> {
syscall3(SYS_FMAP, fd, offset, size) syscall3(SYS_FMAP, fd, offset, size)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment