Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
808 B

  1. .TH taia_now 3
  2. .SH NAME
  3. taia_now \- get current time
  5. .B #include <taia.h>
  6. extern int \fBtaia_now\fP(struct taia* \fIt\fR);
  8. taia_now puts the current time into \fIt\fR. More precisely: tai_now puts into
  9. \fIt\fR its best guess as to the TAI64NA label for the 1-attosecond interval that
  10. contains the current time.
  11. This implementation of taia_now assumes that the time_t returned from
  12. the time function represents the number of TAI seconds since 1970-01-01
  13. 00:00:10 TAI. This matches the convention used by the Olson tz library
  14. in ``right'' mode.
  15. Beware that many clocks are not set accurately, and even the best
  16. scientific clocks are nowhere near 1-attosecond accuracy; however, an
  17. inaccurate clock may still produce reasonably accurate time differences.
  18. .SH "SEE ALSO"
  19. tai_now(3)