[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Doc regarding functions introduced in Android API level 35
From: |
Bruno Haible |
Subject: |
Doc regarding functions introduced in Android API level 35 |
Date: |
Wed, 04 Sep 2024 10:22:44 +0200 |
Po Lu wrote:
> This new release of the Android NDK ...
Searching in these headers for 'INTRODUCED_IN(35)', I see the following
added functions:
./string.h:154:const char* _Nullable strerrorname_np(int __errno_value)
__INTRODUCED_IN(35);
./sys/epoll.h:104:int epoll_pwait2(int __epoll_fd, struct epoll_event* _Nonnull
__events, int __event_count, const struct timespec* _Nullable __timeout, const
sigset_t* _Nullable __mask) __INTRODUCED_IN(35);
./sys/epoll.h:111:int epoll_pwait2_64(int __epoll_fd, struct epoll_event*
_Nonnull __events, int __event_count, const struct timespec* _Nullable
__timeout, const sigset64_t* _Nullable __mask) __INTRODUCED_IN(35);
./time.h:171:time_t mktime_z(timezone_t _Nonnull __tz, struct tm* _Nonnull
__tm) __INTRODUCED_IN(35);
./time.h:209:struct tm* _Nullable localtime_rz(timezone_t _Nonnull __tz, const
time_t* _Nonnull __t, struct tm* _Nonnull __tm) __INTRODUCED_IN(35);
./time.h:331:timezone_t _Nullable tzalloc(const char* _Nullable __id)
__INTRODUCED_IN(35);
./time.h:342:void tzfree(timezone_t _Nullable __tz) __INTRODUCED_IN(35);
./unistd.h:105:pid_t _Fork(void) __INTRODUCED_IN(35);
./wchar.h:115:size_t wcsrtombs_l(char* _Nullable __dst, const wchar_t*
__BIONIC_COMPLICATED_NULLNESS * _Nullable __src, size_t __dst_n, mbstate_t*
_Nullable __ps, locale_t _Nonnull __l) __INTRODUCED_IN(35);
./wchar.h:63:size_t mbsrtowcs_l(wchar_t* _Nullable __dst, const char* _Nullable
* _Nonnull __src, size_t __dst_n, mbstate_t* _Nullable __ps, locale_t _Nonnull
__l) __INTRODUCED_IN(35);
As a first step, let me update the documentation.
2024-09-04 Bruno Haible <bruno@clisp.org>
Doc regarding functions introduced in Android API level 35.
* doc/posix-functions/_Fork.texi: Mention the Android API levels.
* doc/glibc-functions/epoll_pwait2.texi: Likewise.
* doc/glibc-functions/strerrorname_np.texi: Likewise.
diff --git a/doc/glibc-functions/epoll_pwait2.texi
b/doc/glibc-functions/epoll_pwait2.texi
index ac7c71b013..bbf6de7cfe 100644
--- a/doc/glibc-functions/epoll_pwait2.texi
+++ b/doc/glibc-functions/epoll_pwait2.texi
@@ -13,6 +13,7 @@
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on all non-glibc platforms:
-glibc 2.34, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX
7.3.1, HP-UX 11.31, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android.
+This function exists only on Linux and is therefore
+missing on many non-glibc platforms:
+glibc 2.34, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX
7.3.1, HP-UX 11.31, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android API
level 34.
@end itemize
diff --git a/doc/glibc-functions/strerrorname_np.texi
b/doc/glibc-functions/strerrorname_np.texi
index 4268bb9a81..2f83348ea4 100644
--- a/doc/glibc-functions/strerrorname_np.texi
+++ b/doc/glibc-functions/strerrorname_np.texi
@@ -15,8 +15,8 @@
Portability problems fixed by Gnulib:
@itemize
@item
-This function is missing on all non-glibc platforms:
-glibc 2.31, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX
7.1, HP-UX 11.31, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
+This function is missing on many platforms:
+glibc 2.31, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX
7.1, HP-UX 11.31, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android API level
34.
@item
This function returns wrong values on some platforms:
@c https://sourceware.org/bugzilla/show_bug.cgi?id=26555
diff --git a/doc/posix-functions/_Fork.texi b/doc/posix-functions/_Fork.texi
index f502cc290e..15fc6a203d 100644
--- a/doc/posix-functions/_Fork.texi
+++ b/doc/posix-functions/_Fork.texi
@@ -21,6 +21,6 @@
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on all non-glibc platforms:
-glibc 2.33, macOS 14, FreeBSD 13.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX
7.1, HP-UX 11.31, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
+This function is missing on many platforms:
+glibc 2.33, macOS 14, FreeBSD 13.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX
7.1, HP-UX 11.31, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android API level
34.
@end itemize