From 805729e206b7586c57483aa0f4a90f7e0e2c9661 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Wed, 14 Oct 2015 22:54:08 +0000
Subject: - Remove /etc/leapsecs.dat - Publish tools to create the leap
second table as a .c - Simplify functions using leap seconds - rc for
2.3.8.0
---
doc/libstddjb/djbtime.html | 23 ++++-------------------
1 file changed, 4 insertions(+), 19 deletions(-)
(limited to 'doc/libstddjb/djbtime.html')
diff --git a/doc/libstddjb/djbtime.html b/doc/libstddjb/djbtime.html
index 7eb5ee4..d20131e 100644
--- a/doc/libstddjb/djbtime.html
+++ b/doc/libstddjb/djbtime.html
@@ -34,21 +34,6 @@ and implemented in the libskarnet.a or libskarnet.so library.
other time formats and user-friendly representations.
- The /etc/leapsecs.dat file
-
-
- User-friendly time is calculated from UTC. Internal time computations
-should be performed on TAI time - because TAI flows linearly whereas
-UTC does not. To convert between UTC and TAI time, you need a
-leap second table. skalibs provides such a file in its
-src/etc/leapsecs.dat subdirectory, which is copied
-to /etc/leapsecs.dat at installation time (unless you specify
-a --prefix or --datadir option to configure).
-The /etc/leapsecs.dat file must remain accessible
-on your system, else time conversions will not be computed
-properly.
-
-
Data structures
@@ -72,7 +57,7 @@ Converts the absolute TAI64 time in *t to an UTC time, stored in
*u as an unsigned 64-bit integer. *u is actually 2^62
plus the number of seconds since the Epoch.
The function returns 1 if it succeeds, or 0 (and sets errno) if an
-error occurs (for instance: the leap second table cannot be found).
+error occurs.
@@ -81,7 +66,7 @@ Converts the UTC time in u, stored
as an unsigned 64-bit integer (2^62 plus the number of seconds since
the Epoch), to a TAI64 time in *t.
The function returns 1 if it succeeds, or 0 (and sets errno) if an
-error occurs (for instance: the leap second table cannot be found).
+error occurs.
NTP
@@ -92,7 +77,7 @@ Converts the absolute TAI64N time in *a to a 64-bit NTP timestamp,
stored in *ntp. The higher 32 bits of *ntp represent a number
of seconds ; the lower 32 bits are the fractional part of the timestamp.
The function returns 1 if it succeeds, or 0 (and sets errno) if an
-error occurs (for instance: the leap second table cannot be found, or
+error occurs (for instance:
*a cannot be represented in the valid NTP range).
@@ -101,7 +86,7 @@ error occurs (for instance: the leap second table cannot be found, or
Converts the NTP timestamp in ntp to a TAI64N time in
*a.
The function returns 1 if it succeeds, or 0 (and sets errno) if an
-error occurs (for instance: the leap second table cannot be found).
+error occurs.
Local time
--
cgit v1.2.3