Files
RedBear-OS/src/header/sys_times/mod.rs
T
jD91mZM2 6fe3e05ea0 Delete duplicate types
Now that we use cbindgen differently :D
2018-09-02 08:17:15 +02:00

19 lines
313 B
Rust

//! sys/times.h implementation
use platform;
use platform::types::*;
use platform::{Pal, Sys};
#[repr(C)]
pub struct tms {
tms_utime: clock_t,
tms_stime: clock_t,
tms_cutime: clock_t,
tms_cstime: clock_t,
}
#[no_mangle]
pub extern "C" fn times(out: *mut tms) -> clock_t {
Sys::times(out)
}