1tai_now(3) Library Functions Manual tai_now(3)
2
3
4
6 tai_now - get current time
7
9 #include <tai.h>
10
11 extern int tai_now(struct tai* t);
12
14 tai_now puts the current time into t. More precisely: tai_now puts into
15 t its best guess as to the TAI64 label for the 1-second interval that
16 contains the current time.
17
18 This implementation of tai_now assumes that the time_t returned from
19 the time function represents the number of TAI seconds since 1970-01-01
20 00:00:10 TAI. This matches the convention used by the Olson tz library
21 in ``right'' mode.
22
24 taia_now(3)
25
26
27
28 tai_now(3)