Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
taia_now(3)		    Library Functions Manual		     taia_now(3)

NAME
     taia_now - get current time

SYNTAX
     #include <libowfat/taia.h>

     extern int taia_now(struct taia* t);

DESCRIPTION
     taia_now  puts the current time into t. More precisely: tai_now puts into t
     its best guess as to the TAI64NA label for the 1-attosecond  interval  that
     contains the current time.

     This  implementation  of taia_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.

     Beware that many clocks are not set accurately, and even  the  best  scien-
     tific clocks are nowhere near 1-attosecond accuracy; however, an inaccurate
     clock may still produce reasonably accurate time differences.

SEE ALSO
     tai_now(3)

								     taia_now(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_taia_now&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help