bionic/libc/include
Hans Boehm 019d395811 Have stdatomic.h punt to C++ atomic when possible
This is an alternate, somewhat simpler, fix that makes it safe to
include both <atomic> and <stdatomic.h> from C++ code in either order.
It means that C code consistently uses one implementation of atomics
and C++ another.  We still have to make sure that those two
implementations interoperate correctly at runtime; in particular,
any flavor of atomic object needs to be represented exactly like the
underlying type, with the proper alignment constraint.

Bug:17007799
Change-Id: Iffcfc5220d8fa150f89dd083a121b24d23f268fc
2014-08-15 10:38:20 -07:00
..
android Change android_dlextinfo flags to uint64_t 2014-07-08 11:24:03 -07:00
arpa Flesh out <arpa/inet.h>. 2014-05-13 18:08:29 -07:00
machine Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN. 2014-04-21 18:09:46 -07:00
net Update the kernel headers to match external/kernel-headers. 2012-09-12 12:30:22 -07:00
netinet Add TCPOPT_* constants. 2014-01-03 15:58:40 -08:00
netpacket auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sys Implement <sys/fsuid.h>. 2014-07-30 15:19:29 -07:00
alloca.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ar.h New additions/bug fixes required/found when porting perf. 2012-03-20 12:54:55 -07:00
assert.h Add "__noreturn" to assert and assert2 2014-01-15 07:32:52 +00:00
byteswap.h Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64. 2010-09-26 11:26:53 -07:00
ctype.h Remove isascii_l(3). 2014-07-14 15:48:02 -07:00
dirent.h Remove getdents from bionic. 2014-06-06 15:05:58 -07:00
dlfcn.h Add RTLD_NOLOAD support and some related changes. 2014-05-20 12:02:24 -07:00
elf.h Added test for ifunc support in dynamic linker. 2014-08-08 11:29:35 -07:00
endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
err.h The err family allow null format strings. 2014-07-11 02:53:27 +00:00
errno.h Add __pure2 to a few more functions, most notably gettid and pthread_self. 2014-06-11 16:32:10 -07:00
fcntl.h Add splice, tee, and vmsplice. 2014-06-24 19:03:31 -07:00
features.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fnmatch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fts.h Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
ftw.h Added ftw64, nftw64 2014-02-24 20:22:11 +00:00
getopt.h Switch to current upstream getopt_long. 2013-06-25 14:56:17 -07:00
grp.h Remove declarations for things that don't exist. 2014-07-29 16:57:47 -07:00
inttypes.h Switch to the OpenBSD implementations of the wide scanf functions. 2014-04-29 16:28:56 -07:00
lastlog.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
libgen.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
limits.h Fix the printf family for non-ASCII. 2014-06-05 23:19:15 -07:00
link.h Fix <link.h>. 2014-02-10 13:31:13 -08:00
locale.h Brings LC_* defs into line with POSIX 2014-04-18 21:48:57 +00:00
malloc.h Revert "Backing this one out since the counterpart needs to be sent upstream." 2014-06-14 01:04:31 +00:00
memory.h Fix <memory.h> to be a synonym for <string.h> like in glibc. 2013-02-22 11:11:48 -08:00
mntent.h Add getmntent_r to our collection of <mntent.h> compatibility stubs. 2014-05-13 10:44:07 -07:00
netdb.h Use default hidden visibility to build libc_dns. 2014-06-12 13:35:41 -07:00
nsswitch.h Restore <nsswitch.h> which is BSD API, not private. 2014-06-30 14:15:34 -07:00
pathconf.h libc: Add missing C++ guards to <pathconf.h> 2010-09-27 17:27:14 +02:00
paths.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
poll.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
pthread.h Add __pure2 to a few more functions, most notably gettid and pthread_self. 2014-06-11 16:32:10 -07:00
pwd.h Align struct passwd definition with other variations of libc 2014-05-09 22:29:23 +01:00
regex.h Import regex from OpenBSD 2010-01-15 15:01:44 -08:00
resolv.h Use default hidden visibility to build libc_dns. 2014-06-12 13:35:41 -07:00
sched.h Use __LP64__ instead of __LP32__ in sched.h 2014-05-13 16:07:28 +01:00
search.h Implement twalk(3), add unit tests. 2014-07-24 14:55:29 -07:00
semaphore.h Reserve some space in sem_t for the future. 2014-05-06 16:24:27 +01:00
setjmp.h Rewrite and hide longjmperror. 2014-06-06 16:49:39 -07:00
sgidefs.h Add <sgidefs.h>. 2014-01-09 13:54:49 -08:00
sgtty.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
signal.h asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9. 2014-06-25 18:03:41 -07:00
stdatomic.h Have stdatomic.h punt to C++ atomic when possible 2014-08-15 10:38:20 -07:00
stdint.h There is no _MIN for unsigned types. 2014-07-21 17:16:30 -07:00
stdio.h Add an obvious comment to <stdio.h> for fixincludes. 2014-08-06 09:03:52 -07:00
stdlib.h Revert "Add a hack to <stdlib.h> until we can fix libvpx." 2014-08-06 13:20:41 -07:00
string.h Workaround b/16818336 which fails build under aggressive inlining. 2014-08-06 11:43:38 -07:00
strings.h Use __builtin_*_chk for bcopy/bzero. 2014-06-23 08:30:40 -07:00
syslog.h Fix belated review comments on syslog change. 2014-07-23 11:38:38 -07:00
termio.h libc: Add missing <termio.h> header 2010-06-11 14:39:39 -07:00
termios.h Clean up our termios implementation. 2014-03-11 19:13:25 -07:00
time64.h Remove the non-standard time64 stuff for LP64. 2014-05-05 17:14:02 -07:00
time.h Revert "Revert "Add locale aware APIs."" 2014-07-11 16:21:31 +00:00
uchar.h Adds functionality specified by uchar.h 2014-06-04 08:39:24 -07:00
ucontext.h Add x86_64 ucontext.h for better compatibility 2014-01-29 15:35:33 -08:00
unistd.h Remove declarations for things that don't exist. 2014-07-29 16:57:47 -07:00
util.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utime.h Fix utime/utimes when passed a NULL pointer. 2013-10-28 13:21:06 -07:00
utmp.h Allow for better utmp logging. 2014-05-06 15:44:14 +01:00
wchar.h Revert "Revert "Add locale aware APIs."" 2014-07-11 16:21:31 +00:00
wctype.h Revert "Revert "Add locale aware APIs."" 2014-07-11 16:21:31 +00:00
xlocale.h Flesh out <locale.h>. 2014-04-08 19:37:38 -07:00