Skip to content

Commit

Permalink
Auto merge of #2968 - name1e5s:macos_clocks, r=JohnTitor
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Oct 18, 2022
2 parents 9bff92d + de1de5a commit d4e3486
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libc-test/semver/macos.txt
@@ -1,3 +1,7 @@
CLOCK_MONOTONIC_RAW
CLOCK_MONOTONIC_RAW_APPROX
CLOCK_UPTIME_RAW
CLOCK_UPTIME_RAW_APPROX
clock_settime
memmem
task_set_info
4 changes: 4 additions & 0 deletions src/unix/bsd/apple/mod.rs
Expand Up @@ -2694,7 +2694,11 @@ pub const ABMON_11: ::nl_item = 43;
pub const ABMON_12: ::nl_item = 44;

pub const CLOCK_REALTIME: ::clockid_t = 0;
pub const CLOCK_MONOTONIC_RAW: ::clockid_t = 4;
pub const CLOCK_MONOTONIC_RAW_APPROX: ::clockid_t = 5;
pub const CLOCK_MONOTONIC: ::clockid_t = 6;
pub const CLOCK_UPTIME_RAW: ::clockid_t = 8;
pub const CLOCK_UPTIME_RAW_APPROX: ::clockid_t = 9;
pub const CLOCK_PROCESS_CPUTIME_ID: ::clockid_t = 12;
pub const CLOCK_THREAD_CPUTIME_ID: ::clockid_t = 16;

Expand Down

0 comments on commit d4e3486

Please sign in to comment.