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

FreeBSD Manual Pages

  
 
  

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

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 la-
       bel 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.

SEE ALSO
       tai(3), taia_now(3), time(3)

								    tai_now(3)

NAME | SYNTAX | DESCRIPTION | NOTES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=tai_now&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help