diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-23 15:59:49 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-23 15:59:49 +0000 |
commit | d77e0b37b6d81fe3d2d4c2f18acf72b114e1b08a (patch) | |
tree | 1b043e16fb65c3e8b3cf1e8e6fcaac29adbe5983 /doc | |
parent | a1cc5ca8aa7b72eedd88d57e8e9b09a68f7c63a1 (diff) | |
download | skalibs-d77e0b37b6d81fe3d2d4c2f18acf72b114e1b08a.tar.xz |
Remove obsolete documentation for --enable-clock
Diffstat (limited to 'doc')
-rw-r--r-- | doc/flags.html | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/doc/flags.html b/doc/flags.html index b74d344..b50f6b9 100644 --- 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> |