Function - Return a send right to a kernel clock's service port.
kern_return_t host_get_clock_service
(host_t host,
clock_id_t id,
clock_t clock_name);
The host_get_clock_service function returns a send right to the name port for a kernel clock object. This right is used to get the time and resolutions of the clock and to set clock alarms.
Only generic errors apply.
Functions: clock_get_time, clock_get_attributes, clock_map_time, clock_sleep, clock_alarm, host_get_clock_control.