Function - Return the current time.
kern_return_t clock_get_time (clock_t clock_name, tvalspec_t cur_time);
The clock_get_time function returns the current time kept by a clock. The value returned is a monotonically increasing value (unless tampered with via the clock_set_time function).
Only generic errors apply.
Functions: host_get_clock_service, clock_get_attributes, clock_map_time, clock_sleep, clock_alarm, clock_set_time.
Data Structures: tvalspec.