platform_bionic/libc/include
Jiyong Park bb19208d66 Guard __libc_current_sigrtmin/max with __builtin_available
The two APIs were added for the API level 21 and beyond. Currently, its
existence is tested using the null check which is done regardless of the
min sdk version of the compilation unit. (which in turn required us to
mark the API symbol weak regardless of the min sdk version.)

Now, we have a better way of testing the API availability;
__builtin_available. The null check is replaced with the call to the
compiler-provided macro which determines if the code is running in a
version of OS where the API is known to exist.

Bug: 150860940
Bug: 134795810
Test: m
Change-Id: Ib96c78f8d3cc71d7e755d1eab86051517bbbcc44
2021-01-15 10:40:51 +09:00
..
android Guard __libc_current_sigrtmin/max with __builtin_available 2021-01-15 10:40:51 +09:00
arpa <arpa/nameser.h>: fix INTRODUCED_IN API level. 2019-06-06 09:57:54 -07:00
bits Update to v5.10 kernel headers. 2020-12-14 22:37:59 -08:00
net Another round of documentation. 2018-10-04 16:35:13 -07:00
netinet icmp6.h - add captive portal and pref64 nd opts 2020-04-01 20:54:45 +00:00
netpacket
sys NGREG != ELF_NGREG. 2020-09-08 09:27:02 -07:00
.clang-format Fix the libc/include .clang-format. 2020-01-30 13:51:39 -08:00
alloca.h Start documenting libc. 2018-08-23 11:03:17 -07:00
ar.h Start documenting libc. 2018-08-23 11:03:17 -07:00
assert.h Start documenting libc. 2018-08-23 11:03:17 -07:00
byteswap.h Start documenting libc. 2018-08-23 11:03:17 -07:00
complex.h Reland "Retire GCC FORTIFY." 2018-07-24 19:36:51 +00:00
cpio.h Start documenting libc. 2018-08-23 11:03:17 -07:00
ctype.h <ctype.h>: inline the ASCII functions. 2020-02-05 08:18:51 -08:00
dirent.h Add documentation to <dirent.h>. 2020-03-30 14:26:35 -07:00
dlfcn.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
elf.h Remove unused declarations. 2020-02-18 13:25:22 -08:00
endian.h Start documenting libc. 2018-08-23 11:03:17 -07:00
err.h Start documenting libc. 2018-08-23 11:03:17 -07:00
errno.h Start documenting libc. 2018-08-23 11:03:17 -07:00
error.h Start documenting libc. 2018-08-23 11:03:17 -07:00
fcntl.h _FILE_OFFSET_BITS=64 support for fcntl. 2020-01-29 19:36:14 -08:00
features.h Start documenting libc. 2018-08-23 11:03:17 -07:00
fenv.h Clean up the math headers. 2020-02-11 08:46:29 -08:00
fnmatch.h Start documenting libc. 2018-08-23 11:03:17 -07:00
fts.h Fix various ftw/nftw "shall fail"s from POSIX. 2018-05-08 15:20:07 -07:00
ftw.h Better backwards compatibility for stat64. 2018-02-12 15:48:01 -08:00
getopt.h Another round of documentation. 2018-10-04 16:35:13 -07:00
glob.h The future is now (2018 edition). 2018-01-30 08:54:12 -08:00
grp.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
iconv.h Start documenting libc. 2018-08-23 11:03:17 -07:00
ifaddrs.h Start documenting libc. 2018-08-23 11:03:17 -07:00
inttypes.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
langinfo.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
lastlog.h Start documenting libc. 2018-08-23 11:03:17 -07:00
libgen.h Start documenting libc. 2018-08-23 11:03:17 -07:00
limits.h More <limits.h> fixes. 2017-10-18 13:27:01 -07:00
link.h Add additional dl_phdr_info fields 2019-08-22 12:43:17 -07:00
locale.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
malloc.h Copy the M_THREAD_DISABLE_MEM_INIT constant value into malloc.h. 2020-09-24 17:01:54 +00:00
math.h Make it clearer that math.h isn't fdlibm. 2020-09-17 11:57:50 -07:00
memory.h Start documenting libc. 2018-08-23 11:03:17 -07:00
mntent.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
netdb.h The future is now (2018 edition). 2018-01-30 08:54:12 -08:00
nl_types.h Changes for #inclusivefixit. 2020-07-21 16:34:58 -07:00
paths.h Add /system_ext/bin to shell search path 2020-01-07 20:39:52 +09:00
poll.h Accept NULL for fds parameter in poll. 2018-08-28 14:20:15 -07:00
pthread.h Fix bugprone-macro-parentheses warnings 2020-03-04 13:22:05 -08:00
pty.h Cleanup for #inclusivefixit. 2020-07-28 12:12:20 -07:00
pwd.h Remove __INTRODUCED_IN for obsolete API levels. 2019-10-03 16:09:04 -07:00
regex.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
resolv.h The future is now (2019 edition). 2019-03-14 09:29:52 -07:00
sched.h Clean up mips references in the headers. 2020-02-13 18:00:16 -08:00
search.h versioner: Update libc.map.txt to match annotations 2019-12-23 07:13:33 -08:00
semaphore.h Implement new clock wait functions 2019-07-15 09:06:19 -07:00
setjmp.h Clean up mips references in the headers. 2020-02-13 18:00:16 -08:00
signal.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
spawn.h Add sigset64_t and accompanying functions. 2018-01-30 18:47:16 -08:00
stdatomic.h Change stdatomic.h check from defined(_USING_LIBCXX) to __has_include(<atomic>) 2019-07-18 13:57:39 -07:00
stdint.h Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
stdio.h Simplify and improve tempnam() and tmpnam(). 2020-12-08 22:26:06 -08:00
stdio_ext.h Start documenting libc. 2018-08-23 11:03:17 -07:00
stdlib.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
string.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
strings.h strings.h: undef ffs/ffsl/ffsll. 2020-06-25 08:46:06 -07:00
syscall.h Start documenting libc. 2018-08-23 11:03:17 -07:00
sysexits.h Start documenting libc. 2018-08-23 11:03:17 -07:00
syslog.h Start documenting libc. 2018-08-23 11:03:17 -07:00
tar.h Start documenting libc. 2018-08-23 11:03:17 -07:00
termio.h Start documenting libc. 2018-08-23 11:03:17 -07:00
termios.h Consistent <termios.h> behavior on all API levels. 2020-01-09 16:42:15 -08:00
threads.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
time.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
time64.h Remove the non-standard time64 stuff for LP64. 2014-05-05 17:14:02 -07:00
uchar.h Start documenting libc. 2018-08-23 11:03:17 -07:00
ucontext.h Start documenting libc. 2018-08-23 11:03:17 -07:00
unistd.h Make swab(3) inline prior to API 28. 2020-08-07 13:10:51 -07:00
utime.h Start documenting libc. 2018-08-23 11:03:17 -07:00
utmp.h Reimplement our no-op utmp.h functions more simply. 2020-08-07 17:07:31 -07:00
wait.h Start documenting libc. 2018-08-23 11:03:17 -07:00
wchar.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
wctype.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
xlocale.h Start documenting libc. 2018-08-23 11:03:17 -07:00