skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit d77e0b37b6d81fe3d2d4c2f18acf72b114e1b08a
parent a1cc5ca8aa7b72eedd88d57e8e9b09a68f7c63a1
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Wed, 23 Oct 2019 15:59:49 +0000

 Remove obsolete documentation for --enable-clock

Diffstat:
Mdoc/flags.html | 27---------------------------
1 file changed, 0 insertions(+), 27 deletions(-)

diff --git a/doc/flags.html b/doc/flags.html @@ -148,33 +148,6 @@ POSIX freak, or your Unix distribution is running ntpd for you, or other software is assuming you're on UTC. This is the default. </p> -<a name="usert"><h3> --enable-clock </h3></a> - -<p> - The Open Group Base Specifications, issue 7, describes <tt>gettimeofday()</tt> -as obsolescent, and recommends the use of -<a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_gettime.html">clock_gettime()</a> -with the CLOCK_REALTIME option instead. However: -</p> - -<ul> - <li> <tt>clock_gettime()</tt> is not as portable; for instance, Darwin does not have it. </li> - <li> On most systems, using the <tt>clock_</tt> functions requires linking with <tt>librt</tt>, -which is slightly inconvenient - and silly if all you want is timestamping. -</ul> - -<p> - If <tt>--enable-clock</tt> is set, the <a href="libstddjb/tai.html">tain_now() -and tain_setnow()</a> functions for getting and setting time will be based on -the <tt>clock_gettime()</tt> and <tt>clock_settime()</tt> functions. -</p> - -<p> - Otherwise, the old-school <tt>gettimeofday()</tt> -and <tt>settimeofday()</tt> interfaces will be used. This is the default, -and it's usually safe. -</p> - <a name="noipv6"><h3> --disable-ipv6 </h3></a> <p>