Back to Darwin Xnu

Host Adjust Time

osfmk/man/host_adjust_time.html

latest839 B
Original Source

host_adjust_time


Function - Gradually change the time.

SYNOPSIS

**#include&lt mach/mach\_host.h&gt**** kern\_return\_t host\_adjust\_time****(host\_priv\_t**host\_priv, **time\_value\_t** new\_adjustment, **time\_value\_t** old\_adjustment**);**

PARAMETERS

host_priv[in host-control port] The control port the host for which the time is to be set.

new_adjustment[in structure] New adjustment value.

old_adjustment[out structure] Old adjustment value.

DESCRIPTION

The host_adjust_time function arranges for the time on a specified host to be gradually changed by an adjustment value.

RETURN VALUES

Only generic errors apply.

Functions: host_get_time, host_set_time.

Data Structures: time_value.