You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manvendra Bhangui edited this page Feb 25, 2024
·
4 revisions
NAME
tai_now - get current time, with 1-second precision
SYNTAX
#include <tai.h>
void tai_now(&t);
struct tai t;
DESCRIPTION
tai_now puts the current time into t.
More precisely: tai_now puts into t its best guess as to the TAI64
label for the 1-second interval that contains the current time.
NOTES
This implementation of tai_now assumes that the time_t returned
from the time function represents the number of TAI seconds since
1970-01-01 00:00:10 TAI.