CLOCK_TIME_GET
Return the time value of a clock. Note: This is similar to clock_gettime
in POSIX.
(@interface func (export "clock_time_get")
;;; The clock for which to return the time.
(param $id $clockid)
;;; The maximum lag (exclusive) that the returned time value may have, compared to its actual value.
(param $precision $timestamp)
;;; The time value of the clock.
(result $error (expected $timestamp (error $errno)))
)
Content copied to clipboard