From: Bruno Haible Date: Mon, 10 Jun 2019 12:08:06 +0000 (+0200) Subject: doc: Mention the availability of specific functions in glibc versions. X-Git-Tag: v1.0~4925 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=fef6e50422d21d594664da98236042e43e472d77;p=gnulib.git doc: Mention the availability of specific functions in glibc versions. * doc/glibc-functions/accept4.texi: Add info about glibc. * doc/glibc-functions/dup3.texi: Likewise. * doc/glibc-functions/fallocate.texi: Likewise. * doc/glibc-functions/mkostemp.texi: Likewise. * doc/glibc-functions/pipe2.texi: Likewise. * doc/posix-functions/futimens.texi: Likewise. * doc/posix-functions/pthread_barrierattr_getpshared.texi: Likewise. * doc/posix-functions/pthread_condattr_getclock.texi: Likewise. * doc/posix-functions/pthread_condattr_setclock.texi: Likewise. * doc/posix-functions/pthread_setschedprio.texi: Likewise. * doc/posix-functions/strerror_l.texi: Likewise. * doc/posix-functions/utimensat.texi: Likewise. --- diff --git a/doc/glibc-functions/accept4.texi b/doc/glibc-functions/accept4.texi index e8ac723514..e7fe4b7344 100644 --- a/doc/glibc-functions/accept4.texi +++ b/doc/glibc-functions/accept4.texi @@ -8,7 +8,7 @@ Portability problems fixed by Gnulib: @itemize @item This function is missing on many non-glibc 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.1, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. +glibc 2.9, 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.1, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. But the replacement function is not atomic; this matters in multi-threaded programs that spawn child processes. @end itemize diff --git a/doc/glibc-functions/dup3.texi b/doc/glibc-functions/dup3.texi index 5e5d8cdada..f77e250b97 100644 --- a/doc/glibc-functions/dup3.texi +++ b/doc/glibc-functions/dup3.texi @@ -8,7 +8,7 @@ Portability problems fixed by Gnulib: @itemize @item This function is missing on many non-glibc 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.1, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. +glibc 2.8, 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.1, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. @item This function can crash on some platforms: diff --git a/doc/glibc-functions/fallocate.texi b/doc/glibc-functions/fallocate.texi index 423f18c687..8a5f5d9da8 100644 --- a/doc/glibc-functions/fallocate.texi +++ b/doc/glibc-functions/fallocate.texi @@ -12,7 +12,7 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on older glibc versions and many non-glibc 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.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. +glibc 2.9, 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.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. @item On platforms where @code{off_t} is a 32-bit type, this function may not work correctly across the entire data range of files larger than 2 GB. diff --git a/doc/glibc-functions/mkostemp.texi b/doc/glibc-functions/mkostemp.texi index aaa7a65941..3a5f08b79c 100644 --- a/doc/glibc-functions/mkostemp.texi +++ b/doc/glibc-functions/mkostemp.texi @@ -8,7 +8,7 @@ Portability problems fixed by Gnulib: @itemize @item This function is missing on many non-glibc 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.4, Cygwin 1.7.5, mingw, MSVC 14, Interix 3.5, BeOS, Android 5.1. +glibc 2.6, 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.4, Cygwin 1.7.5, mingw, MSVC 14, Interix 3.5, BeOS, Android 5.1. @item This function is declared in @code{} instead of @code{} on some platforms: diff --git a/doc/glibc-functions/pipe2.texi b/doc/glibc-functions/pipe2.texi index 5bbfded13b..ab92811c91 100644 --- a/doc/glibc-functions/pipe2.texi +++ b/doc/glibc-functions/pipe2.texi @@ -8,7 +8,7 @@ Portability problems fixed by Gnulib: @itemize @item This function is missing on many non-glibc 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.1, mingw, MSVC 14, Interix 3.5, BeOS, Android 2.2. +glibc 2.8, 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.1, mingw, MSVC 14, Interix 3.5, BeOS, Android 2.2. But the replacement function is not atomic; this matters in multi-threaded programs that spawn child processes. @end itemize diff --git a/doc/posix-functions/futimens.texi b/doc/posix-functions/futimens.texi index 1e1c76c177..250af78536 100644 --- a/doc/posix-functions/futimens.texi +++ b/doc/posix-functions/futimens.texi @@ -10,7 +10,7 @@ Portability problems fixed by Gnulib: @itemize @item This function is missing on some platforms: -glibc 2.3.6, 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 10, Cygwin 1.5.x, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.3. +glibc 2.5, 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 10, Cygwin 1.5.x, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.3. However, the replacement function may end up truncating timestamps to worse resolution than supported by the file system. @item diff --git a/doc/posix-functions/pthread_barrierattr_getpshared.texi b/doc/posix-functions/pthread_barrierattr_getpshared.texi index 1ba806eac2..fb084c8bc6 100644 --- a/doc/posix-functions/pthread_barrierattr_getpshared.texi +++ b/doc/posix-functions/pthread_barrierattr_getpshared.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: -glibc 2.3.6, Mac OS X 10.5, FreeBSD 5.2.1, 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, mingw, MSVC 14, Interix 3.5, BeOS, Android 6.0. +glibc 2.3.2, Mac OS X 10.5, FreeBSD 5.2.1, 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, mingw, MSVC 14, Interix 3.5, BeOS, Android 6.0. @end itemize diff --git a/doc/posix-functions/pthread_condattr_getclock.texi b/doc/posix-functions/pthread_condattr_getclock.texi index 078d63da04..7ace163280 100644 --- a/doc/posix-functions/pthread_condattr_getclock.texi +++ b/doc/posix-functions/pthread_condattr_getclock.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: -glibc 2.3.6, Mac OS X 10.5, FreeBSD 5.2.1, 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, Android 4.4. +glibc 2.3.2, Mac OS X 10.5, FreeBSD 5.2.1, 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, Android 4.4. @end itemize diff --git a/doc/posix-functions/pthread_condattr_setclock.texi b/doc/posix-functions/pthread_condattr_setclock.texi index 4f0802ec22..5a99f527f3 100644 --- a/doc/posix-functions/pthread_condattr_setclock.texi +++ b/doc/posix-functions/pthread_condattr_setclock.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: -glibc 2.3.6, Mac OS X 10.5, FreeBSD 5.2.1, 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, Android 4.4. +glibc 2.3.2, Mac OS X 10.5, FreeBSD 5.2.1, 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, Android 4.4. @end itemize diff --git a/doc/posix-functions/pthread_setschedprio.texi b/doc/posix-functions/pthread_setschedprio.texi index 78448b59f1..f9bbcb1c41 100644 --- a/doc/posix-functions/pthread_setschedprio.texi +++ b/doc/posix-functions/pthread_setschedprio.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: -glibc 2.3.6, Mac OS X 10.5, FreeBSD 6.0, NetBSD 3.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, BeOS, Android 8.1. +glibc 2.3.3, Mac OS X 10.5, FreeBSD 6.0, NetBSD 3.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, BeOS, Android 8.1. @end itemize diff --git a/doc/posix-functions/strerror_l.texi b/doc/posix-functions/strerror_l.texi index 0c629fde90..5341161bd3 100644 --- a/doc/posix-functions/strerror_l.texi +++ b/doc/posix-functions/strerror_l.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: -glibc 2.3.6, 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, mingw, MSVC 14, Interix 3.5, BeOS, Android 5.1. +glibc 2.5, 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, mingw, MSVC 14, Interix 3.5, BeOS, Android 5.1. @end itemize diff --git a/doc/posix-functions/utimensat.texi b/doc/posix-functions/utimensat.texi index 9182fd6aec..1b8685e145 100644 --- a/doc/posix-functions/utimensat.texi +++ b/doc/posix-functions/utimensat.texi @@ -10,7 +10,7 @@ Portability problems fixed by Gnulib: @itemize @item This function is missing on some platforms: -glibc 2.3.6, 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 10, Cygwin 1.5.x, mingw, MSVC 14, Interix 3.5, BeOS, Android 3.0. +glibc 2.5, 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 10, Cygwin 1.5.x, mingw, MSVC 14, Interix 3.5, BeOS, Android 3.0. However, the replacement function may end up truncating timestamps to worse resolution than supported by the file system. Furthermore, the replacement function is not safe to be used in libraries and is not