CLOCK_RES_GET

Return the resolution of a clock. Implementations are required to provide a non-zero value for supported clocks. For unsupported clocks, return errno::inval.

Note: This is similar to clock_getres in POSIX.

(@interface func (export "clock_res_get")
;;; The clock for which to return the resolution.
(param $id $clockid)
;;; The resolution of the clock, or an error if one happened.
(result $error (expected $timestamp (error $errno)))
)