Skip to content

Commit

Permalink
Add more redox clock constants
Browse files Browse the repository at this point in the history
  • Loading branch information
coolreader18 committed Sep 12, 2021
1 parent 3bd76cd commit 85f2502
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/redox/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,8 @@ pub const __WCLONE: ::c_int = 0x8000_0000;
// time.h
pub const CLOCK_REALTIME: ::c_int = 1;
pub const CLOCK_MONOTONIC: ::c_int = 4;
pub const CLOCK_PROCESS_CPUTIME_ID: ::clockid_t = 2;
pub const CLOCKS_PER_SEC: ::clock_t = 1_000_000;

// unistd.h
// POSIX.1 {
Expand Down

0 comments on commit 85f2502

Please sign in to comment.