Skip to content

Commit

Permalink
Auto merge of #2398 - coolreader18:redox-clock, r=Amanieu
Browse files Browse the repository at this point in the history
Add more redox clock constants
  • Loading branch information
bors committed Sep 13, 2021
2 parents 82a3396 + 85f2502 commit b1c89cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/redox/mod.rs
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 b1c89cc

Please sign in to comment.