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.
2 parents 9bd8875 + fbba2bb commit a91546fCopy full SHA for a91546f
src/unix/bsd/apple/mod.rs
@@ -1495,6 +1495,12 @@ pub const MAP_FIXED: ::c_int = 0x0010;
1495
pub const MAP_ANON: ::c_int = 0x1000;
1496
pub const MAP_ANONYMOUS: ::c_int = MAP_ANON;
1497
1498
+pub const CPU_STATE_USER: ::c_int = 0;
1499
+pub const CPU_STATE_SYSTEM: ::c_int = 1;
1500
+pub const CPU_STATE_IDLE: ::c_int = 2;
1501
+pub const CPU_STATE_NICE: ::c_int = 3;
1502
+pub const CPU_STATE_MAX: ::c_int = 4;
1503
+
1504
deprecated_mach! {
1505
pub const VM_FLAGS_FIXED: ::c_int = 0x0000;
1506
pub const VM_FLAGS_ANYWHERE: ::c_int = 0x0001;
0 commit comments