1 //! sys/times.h implementation 2 3 use crate::unix::platform; 4 5 #[repr(C)] 6 pub struct tms { 7 tms_utime: ::clock_t, 8 tms_stime: ::clock_t, 9 tms_cutime: ::clock_t, 10 tms_cstime: ::clock_t, 11 } 12 13 #[no_mangle] 14 pub extern "C" fn times(out: *mut tms) -> ::clock_t { 15 platform::pal::times(out) 16 } 17