X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..2a1bd2d3eef5c7a7bb14f4bb9fdbca9a96ee4752:/osfmk/man/clock_get_time.html diff --git a/osfmk/man/clock_get_time.html b/osfmk/man/clock_get_time.html old mode 100755 new mode 100644 index f1329d21f..238a426fc --- a/osfmk/man/clock_get_time.html +++ b/osfmk/man/clock_get_time.html @@ -1 +1,45 @@ -

clock_get_time


Function - Return the current time.

SYNOPSIS

kern_return_t   clock_get_time
                (clock_t                             clock_name,
                 tvalspec_t                            cur_time);

PARAMETERS

clock_name
[in clock-name send right] The name (or control) port for the clock.

cur_time
[out structure] Current time

DESCRIPTION

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).

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: host_get_clock_service, clock_get_attributes, clock_map_time, clock_sleep, clock_alarm, clock_set_time.

Data Structures: tvalspec. \ No newline at end of file +

clock_get_time

+
+

+Function - Return the current time. +

SYNOPSIS

+
+kern_return_t   clock_get_time
+                (clock_t                             clock_name,
+                 tvalspec_t                            cur_time);
+
+

PARAMETERS

+
+

+

clock_name +
+[in clock-name send right] +The name (or control) port for the clock. +

+

cur_time +
+[out structure] +Current time +
+

DESCRIPTION

+

+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). +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +host_get_clock_service, +clock_get_attributes, +clock_map_time, +clock_sleep, +clock_alarm, +clock_set_time. +

+Data Structures: +tvalspec.