# HG changeset patch # User Paul Eggert # Date 1537298342 25200 # Node ID f694826cdc81f4b9f709e9a52376a852ed100483 # Parent b3312026aedd059ff87d43ad0c86823493135452 doc: OS X 10.11 lacked ns time functions According to , nanosecond-resolution timestamp functions were introduced in macOS 10.12, so document the last version (OS X 10.11) where they were absent. diff -r b3312026aedd -r f694826cdc81 ChangeLog --- a/ChangeLog Tue Sep 18 12:19:02 2018 -0700 +++ b/ChangeLog Tue Sep 18 12:19:02 2018 -0700 @@ -1,5 +1,11 @@ 2018-09-18 Paul Eggert + doc: OS X 10.11 lacked ns time functions + According to , + nanosecond-resolution timestamp functions were introduced + in macOS 10.12, so document the last version (OS X 10.11) + where they were absent. + gettime: nanotime never existed Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2018-09/msg00082.html diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/clock_getcpuclockid.texi --- a/doc/posix-functions/clock_getcpuclockid.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/clock_getcpuclockid.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,5 +14,5 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin 1.7.9, mingw, MSVC 14, Interix 3.5, BeOS, Android 5.1. +OS X 10.11, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin 1.7.9, mingw, MSVC 14, Interix 3.5, BeOS, Android 5.1. @end itemize diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/clock_getres.texi --- a/doc/posix-functions/clock_getres.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/clock_getres.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,5 +14,5 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS. +OS X 10.11, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS. @end itemize diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/clock_gettime.texi --- a/doc/posix-functions/clock_gettime.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/clock_gettime.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,5 +14,7 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS. +OS X 10.11, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS. +The Gnulib module @code{gettime} is a partial substitute; it +implements the @code{CLOCK_REALTIME} functionality of @code{clock_gettime}. @end itemize diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/clock_nanosleep.texi --- a/doc/posix-functions/clock_nanosleep.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/clock_nanosleep.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,5 +14,5 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 1.7.9, mingw, MSVC 14, Interix 3.5, BeOS. +OS X 10.11, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 1.7.9, mingw, MSVC 14, Interix 3.5, BeOS. @end itemize diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/clock_settime.texi --- a/doc/posix-functions/clock_settime.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/clock_settime.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,5 +14,5 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, Minix 3.1.8, IRIX 5.3, Solaris 2.4, Cygwin 1.7.9, mingw, MSVC 14, Interix 3.5, BeOS. +OS X 10.11, Minix 3.1.8, IRIX 5.3, Solaris 2.4, Cygwin 1.7.9, mingw, MSVC 14, Interix 3.5, BeOS. @end itemize diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/timer_create.texi --- a/doc/posix-functions/timer_create.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/timer_create.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,7 +14,7 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, FreeBSD 6.4, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS, Tandem/NSK. +OS X 10.11, FreeBSD 6.4, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS, Tandem/NSK. @item This function fails with @code{ENOSYS} on some platforms: OpenBSD 4.9. diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/timer_delete.texi --- a/doc/posix-functions/timer_delete.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/timer_delete.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,7 +14,7 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, FreeBSD 6.4, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS, Tandem/NSK. +OS X 10.11, FreeBSD 6.4, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS, Tandem/NSK. @item This function fails with @code{ENOSYS} on some platforms: OpenBSD 4.9. diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/timer_getoverrun.texi --- a/doc/posix-functions/timer_getoverrun.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/timer_getoverrun.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,5 +14,5 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, FreeBSD 6.0, Minix 3.1.8, IRIX 5.3, Solaris 2.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS. +OS X 10.11, FreeBSD 6.0, Minix 3.1.8, IRIX 5.3, Solaris 2.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS. @end itemize diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/timer_gettime.texi --- a/doc/posix-functions/timer_gettime.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/timer_gettime.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,7 +14,7 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, FreeBSD 6.4, Minix 3.1.8, IRIX 5.3, mingw, MSVC 14, Interix 3.5, BeOS, Tandem/NSK. +OS X 10.11, FreeBSD 6.4, Minix 3.1.8, IRIX 5.3, mingw, MSVC 14, Interix 3.5, BeOS, Tandem/NSK. @item This function fails with @code{ENOSYS} on some platforms: OpenBSD 4.9. diff -r b3312026aedd -r f694826cdc81 doc/posix-functions/timer_settime.texi --- a/doc/posix-functions/timer_settime.texi Tue Sep 18 12:19:02 2018 -0700 +++ b/doc/posix-functions/timer_settime.texi Tue Sep 18 12:19:02 2018 -0700 @@ -14,7 +14,7 @@ @itemize @item This function is missing on some platforms: -Mac OS X 10.5, FreeBSD 6.4, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS, Tandem/NSK. +OS X 10.11, FreeBSD 6.4, Minix 3.1.8, IRIX 5.3, Solaris 2.4, mingw, MSVC 14, Interix 3.5, BeOS, Tandem/NSK. @item This function fails with @code{ENOSYS} on some platforms: OpenBSD 4.9.