We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CLOCK_REALTIME
CLOCK_BOOTTIME
1 parent 94a2314 commit f5ef2ebCopy full SHA for f5ef2eb
src/trusty.rs
@@ -62,7 +62,8 @@ s! {
62
pub const PROT_READ: i32 = 1;
63
pub const PROT_WRITE: i32 = 2;
64
65
-pub const CLOCK_REALTIME: clockid_t = 0;
+// Trusty only supports `CLOCK_BOOTTIME`.
66
+pub const CLOCK_BOOTTIME: clockid_t = 7;
67
68
pub const STDOUT_FILENO: ::c_int = 1;
69
pub const STDERR_FILENO: ::c_int = 2;
0 commit comments