From: Paul Eggert Date: Tue, 18 Sep 2018 19:19:02 +0000 (-0700) Subject: doc: OS X 10.11 lacked ns time functions X-Git-Tag: v1.0~5412 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=9a269bb3cd1d322a070ef0d6009c980e038e6332;p=gnulib.git 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 --git a/ChangeLog b/ChangeLog index ae7b010a38..ce41cca0f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 --git a/doc/posix-functions/clock_getcpuclockid.texi b/doc/posix-functions/clock_getcpuclockid.texi index 41b8ceace3..abf97c4b65 100644 --- a/doc/posix-functions/clock_getcpuclockid.texi +++ b/doc/posix-functions/clock_getcpuclockid.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @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 --git a/doc/posix-functions/clock_getres.texi b/doc/posix-functions/clock_getres.texi index 42aa297eb0..04ed2da0c1 100644 --- a/doc/posix-functions/clock_getres.texi +++ b/doc/posix-functions/clock_getres.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @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 --git a/doc/posix-functions/clock_gettime.texi b/doc/posix-functions/clock_gettime.texi index 2b76853698..b7d7686f0e 100644 --- a/doc/posix-functions/clock_gettime.texi +++ b/doc/posix-functions/clock_gettime.texi @@ -14,5 +14,7 @@ Portability problems not fixed by Gnulib: @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 --git a/doc/posix-functions/clock_nanosleep.texi b/doc/posix-functions/clock_nanosleep.texi index 28c4d55f7d..cfdda7a29c 100644 --- a/doc/posix-functions/clock_nanosleep.texi +++ b/doc/posix-functions/clock_nanosleep.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @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 --git a/doc/posix-functions/clock_settime.texi b/doc/posix-functions/clock_settime.texi index b2643165d3..05548743d3 100644 --- a/doc/posix-functions/clock_settime.texi +++ b/doc/posix-functions/clock_settime.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @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 --git a/doc/posix-functions/timer_create.texi b/doc/posix-functions/timer_create.texi index 00c037e394..aa72ac4002 100644 --- a/doc/posix-functions/timer_create.texi +++ b/doc/posix-functions/timer_create.texi @@ -14,7 +14,7 @@ Portability problems not fixed by Gnulib: @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 --git a/doc/posix-functions/timer_delete.texi b/doc/posix-functions/timer_delete.texi index d9c5a78365..9d0f6cc0de 100644 --- a/doc/posix-functions/timer_delete.texi +++ b/doc/posix-functions/timer_delete.texi @@ -14,7 +14,7 @@ Portability problems not fixed by Gnulib: @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 --git a/doc/posix-functions/timer_getoverrun.texi b/doc/posix-functions/timer_getoverrun.texi index 3140bccac2..e9c3f70c9f 100644 --- a/doc/posix-functions/timer_getoverrun.texi +++ b/doc/posix-functions/timer_getoverrun.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @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 --git a/doc/posix-functions/timer_gettime.texi b/doc/posix-functions/timer_gettime.texi index 924f6bf23b..ae6dacc5c4 100644 --- a/doc/posix-functions/timer_gettime.texi +++ b/doc/posix-functions/timer_gettime.texi @@ -14,7 +14,7 @@ Portability problems not fixed by Gnulib: @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 --git a/doc/posix-functions/timer_settime.texi b/doc/posix-functions/timer_settime.texi index f27122b050..73189f3601 100644 --- a/doc/posix-functions/timer_settime.texi +++ b/doc/posix-functions/timer_settime.texi @@ -14,7 +14,7 @@ Portability problems not fixed by Gnulib: @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.