interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / libc / src / new / netbsd / sys / time.rs

15 lines · 439 bytes Raw Blame History
1//! Header: `sys/time.h`
2//!
3//! <https://github.com/NetBSD/src/blob/trunk/sys/sys/time.h>
4
5s! {
6 pub struct itimerspec {
7 pub it_interval: crate::timespec,
8 pub it_value: crate::timespec,
9 }
10}
11
12pub const CLOCK_VIRTUAL: crate::clockid_t = 1;
13pub const CLOCK_PROF: crate::clockid_t = 2;
14pub const CLOCK_THREAD_CPUTIME_ID: crate::clockid_t = 0x20000000;
15pub const CLOCK_PROCESS_CPUTIME_ID: crate::clockid_t = 0x40000000;