Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
syscall
Commits
3971bb41
Commit
3971bb41
authored
May 20, 2018
by
Jeremy Soller
Browse files
Remove fevent
parent
7dc00e7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Cargo.toml
View file @
3971bb41
[package]
name
=
"redox_syscall"
version
=
"0.1.3
7
"
version
=
"0.1.3
8
"
description
=
"A Rust library to access raw Redox system calls"
license
=
"MIT"
authors
=
[
"Jeremy Soller <jackpot51@gmail.com>"
]
...
...
src/call.rs
View file @
3971bb41
...
...
@@ -100,11 +100,6 @@ pub fn fcntl(fd: usize, cmd: usize, arg: usize) -> Result<usize> {
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
pub
unsafe
fn
fmap
(
fd
:
usize
,
offset
:
usize
,
size
:
usize
)
->
Result
<
usize
>
{
syscall3
(
SYS_FMAP
,
fd
,
offset
,
size
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment