bionic/libc/include/sys
Elliott Hughes a0ee07829a Upgrade libm.
This brings us up to date with FreeBSD HEAD, fixes various bugs, unifies
the set of functions we support on ARM, MIPS, and x86, fixes "long double",
adds ISO C99 support, and adds basic unit tests.

It turns out that our "long double" functions have always been broken
for non-normal numbers. This patch fixes that by not using the upstream
implementations and just forwarding to the regular "double" implementation
instead (since "long double" on Android is just "double" anyway, which is
what BSD doesn't support).

All the tests pass on ARM, MIPS, and x86, plus glibc on x86-64.

Bug: 3169850
Bug: 8012787
Bug: https://code.google.com/p/android/issues/detail?id=6697
Change-Id: If0c343030959c24bfc50d4d21c9530052c581837
2013-02-01 14:51:19 -08:00
..
_errdefs.h Error numbers are target specific. 2012-08-01 17:53:07 -07:00
_sigdefs.h Fix typo in SIGTTOU description. 2012-08-10 12:23:58 -07:00
_system_properties.h libc: use more secure system properties if available 2013-01-23 09:28:35 -08:00
_types.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
atomics.h Fix implementation of generic atomic operations 2012-07-24 13:56:38 -07:00
auxv.h libc: add getauxval() 2013-01-11 16:44:15 -08:00
cachectl.h MIPS support for libc. 2012-08-02 16:07:26 -07:00
cdefs_elf.h libc: Define new symbol visibility macros 2012-01-31 22:19:09 +01:00
cdefs.h Upgrade libm. 2013-02-01 14:51:19 -08:00
dirent.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
endian.h Fix <endian.h> and <sys/endian.h>. 2012-12-11 16:17:33 -08:00
epoll.h Fix <sys/epoll.h> and <sys/system_properties.h> to include proper C++ inclusion guards 2010-02-09 14:05:43 -08:00
errno.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
eventfd.h libc: add <sys/eventfd.h> and corresponding implementations. 2010-09-28 09:20:37 +02:00
exec_elf.h Fix valgrind build. 2013-01-29 17:49:12 -08:00
file.h libc: remove C++ comments from public headers. 2010-09-27 17:35:26 +02:00
fsuid.h libc: tag missing functions in system headers. 2010-10-09 17:56:55 +02:00
inotify.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ioctl_compat.h MIPS support to sys/ headers 2012-08-02 18:03:54 -07:00
ioctl.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ipc.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
klog.h Fix <sys/klog.h> to correspond to the kernel operations. 2012-09-14 15:42:30 -07:00
limits.h Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK). 2013-01-02 14:23:43 -08:00
linux-syscalls.h Add signalfd call to bionic 2013-01-10 13:14:46 -08:00
mman.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mount.h Update MS_ mount flags, define unshare() syscall. 2012-08-14 12:09:25 -07:00
param.h Add getdelim(3) and getline(3) to bionic 2012-09-27 11:38:57 -07:00
personality.h Eliminate duplicate copies of constants. 2012-01-17 17:28:42 -08:00
poll.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
prctl.h prctl.h: include sys/cdefs.h 2013-01-23 16:49:47 -08:00
ptrace.h libc: remove C++ comments from public headers. 2010-09-27 17:35:26 +02:00
queue.h Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
reboot.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
resource.h Add definition of rlim_t 2010-01-15 15:57:02 -08:00
select.h Remove compiler warnings when building Bionic. 2010-06-22 17:51:41 -07:00
sendfile.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sha1.h Upgrade more functions to the current upstream NetBSD copy. 2012-10-23 12:29:53 -07:00
signalfd.h Fix signalfd for MIPS. 2013-01-16 09:40:25 -08:00
socket.h Add AF_CAN and PF_CAN (and other missing families). 2013-01-03 16:25:47 -08:00
socketcalls.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
stat.h Define DEFFILEMODE and friends 2012-11-29 11:53:33 -08:00
statfs.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
syscall.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sysconf.h Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK). 2013-01-02 14:23:43 -08:00
sysinfo.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
syslimits.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sysmacros.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
system_properties.h do not merge. Move property setting from libcutils to bionic. 2011-03-15 11:02:26 +09:00
time.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
timeb.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
times.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ttychars.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ttydefaults.h Add tty defaults to bionic 2012-09-11 22:47:31 +03:00
ttydev.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
types.h Remove (near-)duplicate definitions of size_t and ssize_t. 2012-11-29 17:25:23 -08:00
uio.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
un.h Backwards and forwards compatibility for an upcoming <sys/socket.h> change. 2012-09-12 10:51:05 -07:00
utime.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utsname.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
vfs.h MIPS support to sys/ headers 2012-08-02 18:03:54 -07:00
vt.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
wait.h libc: fix typo in waitid() declaration. 2010-10-13 15:46:55 +02:00
xattr.h Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00