Skip to content
Snippets Groups Projects
Commit 9c27110d authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add rusage constants

parent 6e567342
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,11 @@ extern crate sys_time; ...@@ -9,6 +9,11 @@ extern crate sys_time;
use platform::types::*; use platform::types::*;
use sys_time::timeval; use sys_time::timeval;
pub const RUSAGE_SELF: c_int = 0;
pub const RUSAGE_CHILDREN: c_int = -1;
pub const RUSAGE_BOTH: c_int = -2;
pub const RUSAGE_THREAD: c_int = 1;
type rlim_t = u64; type rlim_t = u64;
#[repr(C)] #[repr(C)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment