bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Subject: doc: Update regarding Android
Date: Wed, 04 Jan 2023 08:11:06 +0100	[thread overview]
Message-ID: <32462534.aRNtrjHk3s@nimes> (raw)

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	other threads:[~2023-01-04  7:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32462534.aRNtrjHk3s@nimes \
    --to=bruno@clisp.org \
    --cc=bug-gnulib@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).