platform_bionic/libc/include/sys
Elliott Hughes 8e5fc5b037 NGREG != ELF_NGREG.
Except they are the same on arm32/arm64, so we hadn't really noticed. x86
and x86-64 are quite different though, presumably by historical accident.

Fix the definitions and add some static asserts.

Bug: https://github.com/android/ndk/issues/1347
Test: treehugger
Change-Id: Ic27b172066cf3443749463b9b73c912d204f9516
2020-09-08 09:27:02 -07:00
..
_system_properties.h Fixup an out of date comment. 2018-07-24 13:34:34 -07:00
auxv.h Fix wrong link in getauxval(3) doc comment. 2020-02-21 16:23:33 -08:00
cachectl.h Clean up mips references in the headers. 2020-02-13 18:00:16 -08:00
capability.h Another round of documentation. 2018-10-04 16:35:13 -07:00
cdefs.h Fix bugprone-macro-parentheses warnings 2020-03-04 13:22:05 -08:00
endian.h Cast __builtin_swap64 to uint64_t. 2017-09-11 13:21:35 -07:00
epoll.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
errno.h Start documenting libc. 2018-08-23 11:03:17 -07:00
eventfd.h Add EFD_SEMAPHORE flag for eventfd. 2019-09-03 09:35:51 -07:00
fcntl.h Start documenting libc. 2018-08-23 11:03:17 -07:00
file.h Another round of documentation. 2018-10-04 16:35:13 -07:00
fsuid.h Another round of documentation. 2018-10-04 16:35:13 -07:00
ifunc.h Adopt GNU calling convention for ifunc resolvers. 2019-10-28 20:20:29 -07:00
inotify.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
ioctl.h Another round of documentation. 2018-10-04 16:35:13 -07:00
ipc.h Another round of documentation. 2018-10-04 16:35:13 -07:00
klog.h Another round of documentation. 2018-10-04 16:35:13 -07:00
limits.h Start documenting libc. 2018-08-23 11:03:17 -07:00
mman.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
mount.h Another round of documentation. 2018-10-04 16:35:13 -07:00
msg.h Another round of documentation. 2018-10-04 16:35:13 -07:00
mtio.h Add <sys/mtio.h>. 2017-06-14 17:16:05 -07:00
param.h param.h: whitespace cleanup 2019-03-27 10:56:16 -07:00
personality.h Remove __INTRODUCED_IN for obsolete API levels. 2019-10-03 16:09:04 -07:00
poll.h Start documenting libc. 2018-08-23 11:03:17 -07:00
prctl.h Update to android-mainline kernel headers v5.4. 2019-12-12 14:59:25 -08:00
procfs.h NGREG != ELF_NGREG. 2020-09-08 09:27:02 -07:00
ptrace.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
queue.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
quota.h Another round of documentation. 2018-10-04 16:35:13 -07:00
random.h Another round of documentation. 2018-10-04 16:35:13 -07:00
reboot.h Another round of documentation. 2018-10-04 16:35:13 -07:00
reg.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
resource.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
select.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
sem.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
sendfile.h Another round of documentation. 2018-10-04 16:35:13 -07:00
shm.h Another round of documentation. 2018-10-04 16:35:13 -07:00
signal.h Start documenting libc. 2018-08-23 11:03:17 -07:00
signalfd.h Another round of documentation. 2018-10-04 16:35:13 -07:00
socket.h Clean up mips references in the headers. 2020-02-13 18:00:16 -08:00
stat.h Add a libc wrapper for statx(2). 2020-02-23 11:36:53 -08:00
statfs.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
statvfs.h Support statvfs on API levels before 19. 2019-08-29 21:57:58 -07:00
swap.h Another round of documentation. 2018-10-04 16:35:13 -07:00
syscall.h Always include <sys/cdefs.h>. 2016-07-22 17:01:54 -07:00
sysconf.h Start documenting libc. 2018-08-23 11:03:17 -07:00
sysinfo.h Another round of documentation. 2018-10-04 16:35:13 -07:00
syslog.h Start documenting libc. 2018-08-23 11:03:17 -07:00
sysmacros.h Another round of documentation. 2018-10-04 16:35:13 -07:00
system_properties.h Remove __INTRODUCED_IN for obsolete API levels. 2019-10-03 16:09:04 -07:00
thread_properties.h Add a thread-properties API 2020-08-11 16:51:43 +00:00
time.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
timerfd.h Another round of documentation. 2018-10-04 16:35:13 -07:00
times.h Another round of documentation. 2018-10-04 16:35:13 -07:00
timex.h Another round of documentation. 2018-10-04 16:35:13 -07:00
ttydefaults.h Make <sys/ttydefaults.h> more usable. 2017-07-06 10:33:15 -07:00
types.h Improve the _FILE_OFFSET_BITS docs and link to them. 2017-11-28 15:47:01 -08:00
ucontext.h Clean up mips references in the headers. 2020-02-13 18:00:16 -08:00
uio.h Re-submit "Name function arguments in libc headers for Studio." 2017-08-18 00:00:38 +00:00
un.h Another round of documentation. 2018-10-04 16:35:13 -07:00
unistd.h Start documenting libc. 2018-08-23 11:03:17 -07:00
user.h Clean up mips references in the headers. 2020-02-13 18:00:16 -08:00
utsname.h Another round of documentation. 2018-10-04 16:35:13 -07:00
vfs.h Clean up mips references in the headers. 2020-02-13 18:00:16 -08:00
vt.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
wait.h Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
xattr.h Header improvements. 2019-11-01 16:47:46 -07:00