bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc: Update regarding Android


From: Bruno Haible
Subject: doc: Update regarding Android
Date: Wed, 04 Jan 2023 08:11:06 +0100

On an Android (Termux) system, I see

$ nm --dynamic /system/lib/libc.so | grep LIBC_PRIVATE
0002be8e T bcopy@@LIBC_PRIVATE
0002be9c T bzero@@LIBC_PRIVATE
0002bf08 T ftime@@LIBC_PRIVATE
0002bec4 T getdtablesize@@LIBC_PRIVATE
0002bf80 T index@@LIBC_PRIVATE
0002bc1e T pthread_attr_getstackaddr@@LIBC_PRIVATE
0002bc1a T pthread_attr_setstackaddr@@LIBC_PRIVATE
0002beb4 T wait3@@LIBC_PRIVATE
0002be86 T wcswcs@@LIBC_PRIVATE
...

Cf. also 
https://cs.android.com/android/platform/superproject/+/master:bionic/libc/libc.map.txt;drc=57474c89fe2fe359128cae9a23ab9f614d0d7d07;l=615

Let me update the documentation of these functions.


2023-01-04  Bruno Haible  <bruno@clisp.org>

        doc: Update regarding Android.
        * doc/glibc-functions/getdtablesize.texi: Update Android information.
        * doc/glibc-functions/wait3.texi: Likewise.
        * doc/pastposix-functions/ftime.texi: Likewise.
        * doc/pastposix-functions/index.texi: Likewise.
        * doc/pastposix-functions/pthread_attr_getstackaddr.texi: Likewise.
        * doc/pastposix-functions/pthread_attr_setstackaddr.texi: Likewise.
        * doc/pastposix-functions/wcswcs.texi: Likewise.

diff --git a/doc/glibc-functions/getdtablesize.texi 
b/doc/glibc-functions/getdtablesize.texi
index 23084d9b52..f7e1a12244 100644
--- a/doc/glibc-functions/getdtablesize.texi
+++ b/doc/glibc-functions/getdtablesize.texi
@@ -15,15 +15,13 @@ Portability problems fixed by Gnulib:
 @item
 This function is missing on some platforms:
 Android LP64, mingw, MSVC 14, Android 9.0.
-
 @item
 This function is not declared on some platforms:
-Android LP32.
-
+Android 13 (LP32?).
 @item
 This function does not represent the true @code{RLIMIT_NOFILE} soft
 limit on some platforms:
-Android LP32, Cygwin 1.7.25.
+Android 13 (LP32?), Cygwin 1.7.25.
 @end itemize
 
 Portability problems not fixed by Gnulib:
diff --git a/doc/glibc-functions/wait3.texi b/doc/glibc-functions/wait3.texi
index 8aabeadf93..56d2af1fa3 100644
--- a/doc/glibc-functions/wait3.texi
+++ b/doc/glibc-functions/wait3.texi
@@ -26,4 +26,7 @@ Portability problems not fixed by Gnulib:
 @item
 This function is missing on some platforms:
 Minix 3.1.8, mingw, MSVC 14, Android 9.0.
+@item
+This function is not declared on some platforms:
+Android 13.
 @end itemize
diff --git a/doc/pastposix-functions/ftime.texi 
b/doc/pastposix-functions/ftime.texi
index 37ffdc3912..6ed5c54dca 100644
--- a/doc/pastposix-functions/ftime.texi
+++ b/doc/pastposix-functions/ftime.texi
@@ -16,6 +16,9 @@ Portability problems not fixed by Gnulib:
 This function is missing on some platforms:
 macOS 11.1, FreeBSD 13.0, NetBSD 9.0, OpenBSD 6.7, Android 9.0.
 @item
+This function is not declared on some platforms:
+Android 13.
+@item
 On native Windows platforms (mingw, MSVC), this function works incorrectly
 when the environment variable @code{TZ} has been set by Cygwin.
 @item
diff --git a/doc/pastposix-functions/index.texi 
b/doc/pastposix-functions/index.texi
index 786a2b50f2..d2aaf2a383 100644
--- a/doc/pastposix-functions/index.texi
+++ b/doc/pastposix-functions/index.texi
@@ -21,6 +21,9 @@ Portability problems not fixed by Gnulib:
 This function is missing on some platforms:
 mingw, MSVC 14, Android 9.0.
 @item
+This function is not declared on some platforms:
+Android 13.
+@item
 This function is marked as ``legacy'' in POSIX@.  Better use @code{strchr}
 instead.
 @end itemize
diff --git a/doc/pastposix-functions/pthread_attr_getstackaddr.texi 
b/doc/pastposix-functions/pthread_attr_getstackaddr.texi
index e1b68798e4..3b3ec03f79 100644
--- a/doc/pastposix-functions/pthread_attr_getstackaddr.texi
+++ b/doc/pastposix-functions/pthread_attr_getstackaddr.texi
@@ -16,4 +16,7 @@ Portability problems not fixed by Gnulib:
 @item
 This function is missing on some platforms:
 HP-UX 11, Cygwin 1.7.9, mingw, MSVC 14, Android 9.0.
+@item
+This function is not declared on some platforms:
+Android 13.
 @end itemize
diff --git a/doc/pastposix-functions/pthread_attr_setstackaddr.texi 
b/doc/pastposix-functions/pthread_attr_setstackaddr.texi
index 1c7ad4cad1..0a08099d30 100644
--- a/doc/pastposix-functions/pthread_attr_setstackaddr.texi
+++ b/doc/pastposix-functions/pthread_attr_setstackaddr.texi
@@ -16,4 +16,7 @@ Portability problems not fixed by Gnulib:
 @item
 This function is missing on some platforms:
 HP-UX 11, Cygwin 1.7.9, mingw, MSVC 14, Android 9.0.
+@item
+This function is not declared on some platforms:
+Android 13.
 @end itemize
diff --git a/doc/pastposix-functions/wcswcs.texi 
b/doc/pastposix-functions/wcswcs.texi
index 859066a641..07c40d4037 100644
--- a/doc/pastposix-functions/wcswcs.texi
+++ b/doc/pastposix-functions/wcswcs.texi
@@ -16,6 +16,9 @@ Portability problems not fixed by Gnulib:
 This function is missing on some platforms:
 macOS 11.1, FreeBSD 13.0, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
 @item
+This function is not declared on some platforms:
+Android 13.
+@item
 On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and 
therefore cannot
 accommodate all Unicode characters.
 @item






reply via email to

[Prev in Thread] Current Thread [Next in Thread]