Function time_sys::timespec_compare [] [src]

pub fn timespec_compare(lhs: &timespec, rhs: &timespec) -> c_int

Compares two timespecs

If lhs < rhs, return < 0
If lhs == rhs, return 0
If lhs > rhs, return > 0