<html>
    <head>
        <title>Documentation</title>
        <meta name="author" content="Sem Voigtländer"/>
        <meta name="description" content="KernelProgrammer - Information Security, Technology and development. Read research documents and follow 
projects regarding modern technologies in the fields of development, technology and information security"/>
        <meta name="keywords" content="information security, cyber, kernel, programmer, kernelprogrammer, kernelprogramming, technology, development, 
webdevelopment, c, objective c, programming, coding, exploitation, escallatorium excelsior, security, cybersecurity, linux, c plus plus, privacy, tor, 
blog, projects, research"/>
        <meta name="apple-touch-icon" content="apple-touch-icon.png"/>
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <link rel="stylesheet" type="text/css" href="../../assets/css/icono.min.css">
        <link rel="stylesheet" type="text/css" href="../../assets/css/simple-grid.min.css">
        <link rel="stylesheet" type="text/css" href="../../assets/css/luxbar.css">
        <link rel="stylesheet" type="text/css" href="../../assets/css/default.css">
    </head>
    <body>
        <main class="container">
            <section class="row">
                <article class="col-md-4">
                    <br/>
<h2>host_get_time</h2>
<hr>
<p>
<strong>Function</strong> - Return the current time.
<h3>SYNOPSIS</h3>
<pre>
<strong>#include&lt mach/mach_host.h&gt</strong>

<strong>kern_return_t   host_get_time</strong>
                <strong>(host_t</strong>                                    <var>host</var>,
                 <strong>time_value_t</strong>                      <var>current_time</var><strong>);</strong>
</pre>
<h3>PARAMETERS</h3>
<dl>
<p>
<dt> <var>host</var>
<dd>
[in host-name port] The name port the host for which the time is to be set.
<p>
<dt> <var>current_time</var>
<dd>
[out structure] Returned time value.
</dl>
<h3>DESCRIPTION</h3>
<p>
The <strong>host_get_time</strong> function returns the current time
as seen by that <var>host</var>.
<h3>RETURN VALUES</h3>
<p>
Only generic errors apply.
<h3>RELATED INFORMATION</h3>
<p>
Functions:
<a href="host_adjust_time.html"><strong>host_adjust_time</strong></a>,
<a href="host_set_time.html"><strong>host_set_time</strong></a>.
<p>
Data Structures:
time_value.
		</article>
            </section>
        </main>
    </body>
</html>
