platform_bionic/libc/include
Mark Salyzyn 722ab05b25 bionic: Implement getpwent and getgrent
Not efficient to iterate through given the large number of Android
ids (AID). Compile warning will result if you use these functions,
telling you as much. Not for general consumption, however for
example, some filesystem tests would like to see these to perform
all corners.

About 1/4 second for getpwent, and 1/8 second for getgrent to iterate
through all reserved Android aids.

Bug: 27999086
Change-Id: I7784273b7875c38e4954ae21d314f35e4bf8c2fc
2016-04-22 10:44:19 -07:00
..
android Make the legacy inline headers compile standalone. 2016-04-15 13:06:08 -07:00
arpa Simplify our endian.h implementation. 2014-12-08 20:35:08 -08:00
bits Move <sys/sysconf.h> to <bits/sysconf.h>. 2016-04-07 18:02:00 -07:00
machine Implement POSIX lockf. 2016-01-26 11:09:44 -08:00
net Make the network headers compile standalone. 2016-04-07 11:16:35 -07:00
netinet Make the network headers compile standalone. 2016-04-07 11:16:35 -07:00
netpacket auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sys Make the legacy inline headers compile standalone. 2016-04-15 13:06:08 -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 Remove swap16/swap32/swap64 header pollution. 2015-10-26 17:51:42 -07:00
complex.h Move math headers in with the other headers. 2016-04-02 08:36:33 -07:00
ctype.h Put back inline definitions if using an old API. 2015-01-29 17:30:40 -08:00
dirent.h Implement scandirat and scandirat64. 2015-10-27 13:47:36 -07:00
dlfcn.h linker: add dlvsym(3) 2015-12-16 15:24:13 -08:00
elf.h Add definitions of Elf32_Sxword and ELFXX_R_INFO 2015-05-07 23:10:16 -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 Make the legacy inline headers compile standalone. 2016-04-15 13:06:08 -07:00
error.h Add <error.h>. 2015-01-26 11:57:11 -08:00
fcntl.h Remove declaration of unlinkat from <fcntl.h>. 2016-04-07 18:01:59 -07:00
features.h Move the meat of <features.h> into <sys/cdefs.h>. 2014-08-19 11:18:20 -07:00
fenv.h Move math headers in with the other headers. 2016-04-02 08:36:33 -07:00
fnmatch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fts.h libc: Fix headers to allow direct inclusion. 2014-12-01 15:44:24 +01:00
ftw.h Added ftw64, nftw64 2014-02-24 20:22:11 +00:00
getopt.h Extract getopt and friends to <bits/getopt.h> 2016-04-07 18:01:59 -07:00
grp.h bionic: Implement getpwent and getgrent 2016-04-22 10:44:19 -07:00
ifaddrs.h Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3)."" 2016-01-04 13:00:39 -08: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 Fix GNU/POSIX basename headers. 2015-11-04 14:19:55 -08:00
limits.h Implement POSIX lockf. 2016-01-26 11:09:44 -08: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 Remove dlmalloc. 2016-01-25 10:14:35 -08:00
math.h Remove fabs, fabsf, fabsl inlines from <math.h>. 2016-04-08 21:09:52 +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 Differentiate the MNTTYPE_* and MNTOPT_* constants. 2016-03-31 18:20:01 -07:00
netdb.h Define MAXHOSTNAMELEN explicitly in source files. 2015-02-09 19:56:47 -08:00
nl_types.h Add trivial no-op <nl_types.h>. 2016-04-06 17:22:44 -07:00
nsswitch.h Restore <nsswitch.h> which is BSD API, not private. 2014-06-30 14:15:34 -07:00
paths.h Fix _PATH_DEFPATH to correspond to the actual default path. 2015-03-17 17:34:14 -07:00
poll.h Fortify poll and ppoll. 2015-02-02 09:15:19 -08:00
pthread.h Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE. 2016-03-30 10:33:54 -07:00
pty.h Implement <pty.h>. 2014-12-03 15:55:34 -08:00
pwd.h bionic: Implement getpwent and getgrent 2016-04-22 10:44:19 -07:00
regex.h Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64. 2015-08-27 14:48:32 -07:00
resolv.h Use default hidden visibility to build libc_dns. 2014-06-12 13:35:41 -07:00
sched.h Implement POSIX lockf. 2016-01-26 11:09:44 -08:00
search.h Implement twalk(3), add unit tests. 2014-07-24 14:55:29 -07:00
semaphore.h Switch sem_t from bionic atomics to stdatomic.h. 2015-02-03 16:35:57 -08:00
setjmp.h Rewrite and hide longjmperror. 2014-06-06 16:49:39 -07:00
sgtty.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
signal.h Make the legacy inline headers compile standalone. 2016-04-15 13:06:08 -07:00
stdatomic.h Allow stdatomic.h to be included from mingw prebuilt. 2014-11-12 18:08:25 -08:00
stdint.h Implement POSIX lockf. 2016-01-26 11:09:44 -08:00
stdio.h Add fopen64/freopen64/tmpfile64 aliases. 2016-02-03 11:24:28 -08:00
stdio_ext.h Add <stdio_ext.h> for elfutils. 2014-08-20 10:23:52 -07:00
stdlib.h Make the legacy inline headers compile standalone. 2016-04-15 13:06:08 -07:00
string.h Extract strcasecmp and friends to <bits/strcasecmp.h>. 2016-04-07 18:01:59 -07:00
strings.h Extract strcasecmp and friends to <bits/strcasecmp.h>. 2016-04-07 18:01:59 -07:00
syscall.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
sysexits.h Add <sysexits.h>. 2015-06-29 13:44:34 -07:00
syslog.h syslog.h: missing LOG_MAKEPRI definition 2015-03-12 13:21:35 -07:00
termio.h libc: Add missing <termio.h> header 2010-06-11 14:39:39 -07:00
termios.h Make the legacy inline headers compile standalone. 2016-04-15 13:06:08 -07:00
time.h support _POSIX_CPUTIME 2014-11-26 17:14:50 -08:00
time64.h Remove the non-standard time64 stuff for LP64. 2014-05-05 17:14:02 -07:00
uchar.h Fixed uchar.h for clang3.6 2015-06-29 13:27:28 +03:00
ucontext.h Add x86_64 ucontext.h for better compatibility 2014-01-29 15:35:33 -08:00
unistd.h Move <sys/sysconf.h> to <bits/sysconf.h>. 2016-04-07 18:02:00 -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 Fix <utmp.h> declarations. 2015-10-26 19:29:12 -07:00
wait.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
wchar.h Remove mbstowcs from <wchar.h>. 2016-04-07 18:01:59 -07: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