Function nix::time::clock_gettime
source · pub fn clock_gettime(clock_id: ClockId) -> Result<TimeSpec>
Available on crate feature
time
only.Expand description
Get the time of the specified clock, (see clock_gettime(2)).