logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tai_now - get current time

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.

       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. This matches the convention used by the Olson tz
       library in ``right'' mode.

Name

       tai_now - get current time

See Also

taia_now(3)

                                                                                                      tai_now(3)

Syntax

#include<libowfat/tai.h>

       extern int tai_now(struct tai* t);

See Also