File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/unix/bsd/netbsdlike/openbsd Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,10 @@ CLD_EXITED
98
98
CLD_KILLED
99
99
CLD_STOPPED
100
100
CLD_TRAPPED
101
+ CLOCK_BOOTTIME
102
+ CLOCK_PROCESS_CPUTIME_ID
103
+ CLOCK_THREAD_CPUTIME_ID
104
+ CLOCK_UPTIME
101
105
CMSG_DATA
102
106
CMSG_FIRSTHDR
103
107
CMSG_LEN
Original file line number Diff line number Diff line change @@ -1660,6 +1660,12 @@ pub const MNT_WAIT: ::c_int = 1;
1660
1660
pub const MNT_NOWAIT : :: c_int = 2 ;
1661
1661
pub const MNT_LAZY : :: c_int = 3 ;
1662
1662
1663
+ // sys/_time.h
1664
+ pub const CLOCK_PROCESS_CPUTIME_ID : :: clockid_t = 2 ;
1665
+ pub const CLOCK_THREAD_CPUTIME_ID : :: clockid_t = 4 ;
1666
+ pub const CLOCK_UPTIME : :: clockid_t = 5 ;
1667
+ pub const CLOCK_BOOTTIME : :: clockid_t = 6 ;
1668
+
1663
1669
pub const LC_COLLATE_MASK : :: c_int = 1 << :: LC_COLLATE ;
1664
1670
pub const LC_CTYPE_MASK : :: c_int = 1 << :: LC_CTYPE ;
1665
1671
pub const LC_MONETARY_MASK : :: c_int = 1 << :: LC_MONETARY ;
You can’t perform that action at this time.
0 commit comments