bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] pthread: document Android limits


From: Bruno Haible
Subject: Re: [PATCH] pthread: document Android limits
Date: Sun, 13 May 2018 13:46:13 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-119-generic; KDE/5.18.0; x86_64; ; )

The Android headers contain information, for each function, when this function
was added in Bionic.

For example, <stdlib.h> contains

#if __ANDROID_API__ >= 23
...
int mkostemp(char* __template, int __flags) __INTRODUCED_IN(23);
...
#endif /* __ANDROID_API__ >= 23 */

which means that the function 'mkostemp' is available in Android API 23 and
higher. The API levels translate to Android versions per
https://source.android.com/setup/start/build-numbers
So, 'mkostemp' is present in Android 6.0 or newer, and missing in Android 5.1
and older.

There are a few special cases, marked with __RENAME, that indicate when the
symbol used in the header file and the symbol visible to 'nm' are different.


2018-05-13  Bruno Haible  <address@hidden>

        doc: Add info about Android versions 2.0 to 8.1.
        * doc/**/*.texi: Add info about functions in all released versions of
        Bionic.

http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=be18f9170e1989b601a08aada31438cca87cffdd




reply via email to

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