18d7a6b5f913b1fff00c60a633cabcb5756faa38
[platform/upstream/krb5.git] / doc / html / _sources / appdev / refs / api / krb5_set_real_time.txt
1 krb5_set_real_time -  Set time offset field in a krb5_context structure. 
2 =========================================================================
3
4 ..
5
6 .. c:function:: krb5_error_code krb5_set_real_time(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds)
7
8 ..
9
10
11 :param:
12
13                   **[in]** **context** - Library context
14
15                   **[in]** **seconds** - Real time, seconds portion
16
17                   **[in]** **microseconds** - Real time, microseconds portion
18
19
20 ..
21
22
23 :retval:
24          -   0   Success; otherwise - Kerberos error codes
25
26
27 ..
28
29
30
31
32
33
34
35 This function sets the time offset in *context* to the difference between the system time and the real time as determined by *seconds* and *microseconds* .
36
37
38
39
40
41
42
43
44
45
46 ..
47
48
49
50
51