03e65eb03bf0bfaafa797daf91e80e8308968db3 |
26-Jan-2016 |
Elliott Hughes <enh@google.com> |
Implement funopen64. Bug: http://b/24807045 Change-Id: I161920978161389be34b707cc6ce8e05f760d552
ib/libc/stdio/funopen.c
|
023c3071a036d84bbd7973edef152c5a48679cb7 |
23-Jan-2016 |
Elliott Hughes <enh@google.com> |
Add _seek64 to FILE. Move fdopen/fopen/freopen and change them to initialize _seek64 instead of the legacy _seek. The in-memory streams can stick with _seek for now, since you're not going to fit a > 4GiB in-memory stream on a 32-bit device anyway. Bug: http://b/24807045 Change-Id: I09dcb426817b571415ce24d4d15f364cdda395b3
ib/libc/stdio/fdopen.c
ib/libc/stdio/fgetpos.c
ib/libc/stdio/fopen.c
ib/libc/stdio/freopen.c
ib/libc/stdio/fsetpos.c
|
2704bd13409a77237147f861c43796148326b2e3 |
21-Jan-2016 |
Elliott Hughes <enh@google.com> |
Simplify fseek/ftell. Another step towards _FILE_OFFSET_BITS=64 support. Bug: http://b/24807045 Change-Id: I00b83c81a7b108176c4d9437bc32611f73b7e967
ib/libc/stdio/fseek.c
ib/libc/stdio/ftell.c
|
923f165b29866cba1bd077117127f576763b384d |
20-Jan-2016 |
Elliott Hughes <enh@google.com> |
Make FILE*s less usable after fclose(3). BSD doesn't invalidate the fd stored in struct FILE, which can make it possible (via fileno(3), for example), to perform operations on an fd you didn't intend to (rather than just failing with EBADF). Fixing this makes the code slightly simpler anyway, and might help catch bad code before it ships. Bug: http://stackoverflow.com/questions/10816837/fclose-works-differently-on-android-and-linux Change-Id: I9db74584038229499197a2695c70b58ed0372a87
ib/libc/stdio/fclose.c
ib/libc/stdio/fileno.c
|
506c6deff726c8c052ff5abb0cef57e63707bd1c |
16-Jan-2016 |
Elliott Hughes <enh@google.com> |
Sync with upstream OpenBSD. Also some minor build cleanup. Change-Id: Ibd20602d7ea45685f0c47fceb00ffd6c7ae35954
ndroid/include/openbsd-compat.h
ib/libc/gen/err.c
ib/libc/gen/errx.c
ib/libc/gen/time.c
ib/libc/gen/verr.c
ib/libc/gen/verrx.c
ib/libc/gen/vwarn.c
ib/libc/gen/vwarnx.c
ib/libc/gen/warn.c
ib/libc/gen/warnx.c
ib/libc/net/res_random.c
ib/libc/stdio/asprintf.c
ib/libc/stdio/fgetwc.c
ib/libc/stdio/fgetws.c
ib/libc/stdio/fputwc.c
ib/libc/stdio/getdelim.c
ib/libc/stdio/open_memstream.c
ib/libc/stdio/open_wmemstream.c
ib/libc/stdio/tempnam.c
ib/libc/stdio/vasprintf.c
ib/libc/stdio/vfprintf.c
ib/libc/stdio/vfwprintf.c
ib/libc/stdio/vswprintf.c
ib/libc/stdlib/reallocarray.c
ib/libc/stdlib/setenv.c
ib/libc/stdlib/system.c
ib/libc/string/strlcat.c
ib/libc/string/strlcpy.c
ib/libc/string/strtok.c
ib/libc/string/wcslcpy.c
ib/libc/time/wcsftime.c
|
a8184456229ace2b0255468e6b15aeb6509e27f7 |
23-Oct-2015 |
Christopher Ferris <cferris@google.com> |
Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC. Change-Id: If4da9e46398ca5524f6f0680d70588e3dc7e80b4
ndroid/include/openbsd-compat.h
|
8ab433df132aa59db08b4548155d72574ad06421 |
10-Oct-2015 |
Elliott Hughes <enh@google.com> |
Fix stdio read after EOF behavior. Bug: https://code.google.com/p/android/issues/detail?id=184847 Change-Id: Ia20ce94007c2a09649f0763b1dc7ba959f2f618d
ib/libc/stdio/refill.c
|
047866672c66e51b557721cf50ba101305c252d2 |
09-Oct-2015 |
Elliott Hughes <enh@google.com> |
Fix inet_addr/inet_aton/inet_network. Rewrite inet_addr and inet_network in terms of inet_aton, and reimplement that to include all the missing error checks. Bug: http://b/24754503 Change-Id: I5dfa971c87201968985a0894df419f0fbf54768a
ib/libc/net/inet_addr.c
ib/libc/net/inet_network.c
|
26a83229728c099f5572edb65dedce7163dbff71 |
15-Sep-2015 |
Elliott Hughes <enh@google.com> |
Move several FreeBSD functions to OpenBSD. There's no difference between the two BSDs for these functions, so let's go with the majority. Change-Id: Ic296f23153a48bed5ad152f5b31989c4e00e60bd
ib/libc/stdlib/abs.c
ib/libc/stdlib/imaxabs.c
ib/libc/stdlib/imaxdiv.c
ib/libc/stdlib/labs.c
ib/libc/stdlib/llabs.c
|
b3db7764d0757392c73c716423f49dc0809c5a23 |
04-Aug-2015 |
Elliott Hughes <enh@google.com> |
Merge "name the arc4random structure mappings"
|
17379d2b085db9fcee114caea08c448c4293e66f |
03-Aug-2015 |
Elliott Hughes <enh@google.com> |
Cherrypick upstream fnmatch.c fix. Bug: http://b/22855370 Change-Id: I3865cff1e2ffeb6709cea092be3770c1bebf1623
ib/libc/gen/fnmatch.c
|
516fcb28f2fb591e9ae14f909acf00ca5a8b0dc6 |
02-Aug-2015 |
Daniel Micay <danielmicay@gmail.com> |
name the arc4random structure mappings Change-Id: I6e150e526f6ceee31aa9bd219fa45317d5a729cb
ndroid/include/arc4random.h
|
c46c0e960d1d054ec1d398f5f3618e4d1154aa26 |
31-Jul-2015 |
Elliott Hughes <enh@google.com> |
Sync current upstream fnmatch.c. Bug: http://b/22855370 Change-Id: I589f849aaede3b69b6b3682989bab7d8649dcd97
ib/libc/gen/fnmatch.c
|
9cf6fc304bbbfb26911e0b624b80d862c40b0308 |
04-Jun-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Hide __atexit Bug: http://b/21640806 Change-Id: I778b35c8c7538859179e97fcf5a82db2fcd9e50f
ndroid/include/openbsd-compat.h
|
ea295f68f1fae7c701baaa717f67296659d567ac |
21-Nov-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Unregister pthread_atfork handlers on dlclose() Bug: http://b/20339788 Change-Id: I874c87faa377645fa9e0752f4fc166d81fd9ef7e
ib/libc/stdlib/atexit.c
ib/libc/stdlib/atexit.h
|
094f58fb2a57d1ed5736ae3588bf0355618f915b |
24-Apr-2015 |
Dimitry Ivanov <dimitry@google.com> |
Revert "Unregister pthread_atfork handlers on dlclose()" The visibility control in pthread_atfork.h is incorrect. It breaks 64bit libc.so by hiding pthread_atfork. This reverts commit 6df122f8528f9b9fcf7dfea14ae98b0ef66274e1. Change-Id: I21e4b344d500c6f6de0ccb7420b916c4e233dd34
ib/libc/stdlib/atexit.c
ib/libc/stdlib/atexit.h
|
6df122f8528f9b9fcf7dfea14ae98b0ef66274e1 |
21-Nov-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Unregister pthread_atfork handlers on dlclose() Change-Id: I326fdf6bb06bed12743f08980b5c69d849c015b8
ib/libc/stdlib/atexit.c
ib/libc/stdlib/atexit.h
|
163ab8ba86deb991c73152e6828f270cc71dc4c5 |
16-Apr-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Call __cxa_thread_finalize for the main thread. Bug: http://b/20231984 Bug: http://b/16696563 Change-Id: I71cfddd0d404d1d4a593ec8d3bca9741de8cb90f
ib/libc/stdlib/exit.c
|
41ef902379ba24bd8a3ca6d7733b8376efb55ebd |
14-Feb-2015 |
Elliott Hughes <enh@google.com> |
Fix memchr overflow. The overflow's actually in the generic C implementation of memchr. While I'm here, let's switch our generic memrchr to the OpenBSD version too. Bug: https://code.google.com/p/android/issues/detail?id=147048 Change-Id: I296ae06a1ee196d2c77c95a22f11ee4d658962da
ib/libc/string/memchr.c
ib/libc/string/memrchr.c
|
e6099098a5fcf92c4205718ff505e784aeeaae70 |
27-Jan-2015 |
Elliott Hughes <enh@google.com> |
Fix mips build. Move various mips-only things into the arch-mips directory. As soon as mips writes assembler replacements, we can remove these. Change-Id: Ia7308559bc361f5c8df3e1d456b381865e060b93
ib/libc/string/memcpy.c
ib/libc/string/strlen.c
|
76f8916b904db14facf811ae44e1265261349702 |
26-Jan-2015 |
Elliott Hughes <enh@google.com> |
Clean up <stdlib.h> slightly. Interestingly, this mostly involves cleaning up our implementation of various <string.h> functions. Change-Id: Ifaef49b5cb997134f7bc0cc31bdac844bdb9e089
ib/libc/string/bcopy.c
ib/libc/string/memcpy.c
ib/libc/string/memmove.c
ib/libc/string/wmemcpy.c
|
8885dcc779bceae5016d5ad96caa73465a7bab90 |
21-Jan-2015 |
Elliott Hughes <enh@google.com> |
Add TEMP_FAILURE_RETRY to stdio's low-level read/write functions. This is correctness rather than performance, but found while investigating performance. Bug: 18593728 Change-Id: Idbdfed89d1931fcfae65db29d662108d4bbd9b65
ib/libc/stdio/stdio.c
|
01abeacded873dd835d2115d7c9a9b0b47e75254 |
14-Jan-2015 |
Elliott Hughes <enh@google.com> |
Sync with upstream OpenBSD stdio. Mainly to get the __atexit_register_cleanup removals we suggested. Change-Id: I58d40b8c5b8401bfb6bfffe8f3430ac0718af917
ib/libc/stdio/fgetln.c
ib/libc/stdio/getdelim.c
ib/libc/stdio/makebuf.c
ib/libc/stdio/mktemp.c
ib/libc/stdio/open_wmemstream.c
ib/libc/stdio/setvbuf.c
ib/libc/stdio/ungetc.c
|
3471fcbb6a7b13f8f06163f16ef52ceafa5d84a2 |
08-Jan-2015 |
Yabin Cui <yabinc@google.com> |
Clean up paths.h. Bug: 18905946 Change-Id: I02cd1ddd5c0b0af165685413bc1fb12ca6bf5f33
ndroid/include/openbsd-compat.h
|
50e15a2ec7189eb3279cbf546679ccac4a138e90 |
23-Dec-2014 |
Elliott Hughes <enh@google.com> |
Merge "Remove more BSD cruft from the public headers."
|
1b18aff9ba7c06e0e41ccafd22e1a4a585f86d78 |
16-Dec-2014 |
Elliott Hughes <enh@google.com> |
Fix nan output in the printf family. Bug: https://code.google.com/p/android/issues/detail?id=82452 Change-Id: I51f226c8b033de6e81baeea5e6db3de6ed196f73
ib/libc/stdio/vfprintf.c
ib/libc/stdio/vfwprintf.c
|
998f2d5a50adffcc0447912fb6a7af2dac7accf1 |
20-Dec-2014 |
Elliott Hughes <enh@google.com> |
Remove more BSD cruft from the public headers. Change-Id: I1e3097f745b526db448bf72fbc05fb2ba23929a0
ndroid/include/openbsd-compat.h
|
20841a137beac5caa824e3586c7bd91d879ff92e |
02-Dec-2014 |
Elliott Hughes <enh@google.com> |
Avoid pathological behavior in OpenBSD's fread. Bug: https://code.google.com/p/android/issues/detail?id=81155 Bug: 18556607 Change-Id: Idc60976b79610e2202cc42dc393dcb4ca6c42e05
ib/libc/stdio/fread.c
|
2818279ace22fb854b00e668c224492c4dd072a4 |
22-Nov-2014 |
Elliott Hughes <enh@google.com> |
Sync with upstream OpenBSD fts.c. Change-Id: Ia7e26b603f6461095b5a8d7e8a6cdf4f8279fa84
ndroid/include/openbsd-compat.h
ib/libc/stdlib/reallocarray.c
|
6a03abcfd23f31d1df06eb0059830e22621282bb |
03-Nov-2014 |
Elliott Hughes <enh@google.com> |
Ensure we initialize stdin/stdout/stderr's recursive mutexes. Bug: 18208568 Change-Id: I9da16ce0f9375bc363d1d02be706d73fd3b1e150
ib/libc/stdio/findfp.c
|
5a69da8d7af6a388a4ad5b3dd619017b0030031a |
24-Sep-2014 |
Elliott Hughes <enh@google.com> |
Switch to OpenBSD fopen/fclose. This means all our stdio implementation is now the OpenBSD implementation. The only thing we lose is the STDIO_THREAD_LOCK calls but they were no-ops anyway. We should probably talk to upstream about this. Either fix the locking or, preferably, encourage them to move away from this pooling (especially since there's no eviction policy). Bug: 17154680 Change-Id: Ie2523e444a7d0965b8d141d57e3e11f6432d5b9a
ib/libc/stdio/fclose.c
ib/libc/stdio/fopen.c
|
c08c25b4c9bdd95bfbda56a8c21f51b88c8a692e |
24-Sep-2014 |
Elliott Hughes <enh@google.com> |
Sync with upstream findfp.c. Change-Id: Ib298f46de0c4d0fd4ce0a9b456c163e8b8b06342
ndroid/include/openbsd-compat.h
ib/libc/stdio/findfp.c
|
a71b4c3f144a516826e8ac5b262099b920c49ce0 |
24-Sep-2014 |
Elliott Hughes <enh@google.com> |
Switch to OpenBSD flags.c. Change-Id: I0a35e5bd9f8edba27e0c73e5c8150636346d6a81
ib/libc/stdio/flags.c
|
31165edf5733dae8fbe79551b18cbc0e56c8d808 |
24-Sep-2014 |
Elliott Hughes <enh@google.com> |
CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps. Change-Id: I74ea88e0d4973d6ab3c57da7d8bb643c31592b14
ib/libc/stdio/fdopen.c
ib/libc/stdio/freopen.c
ib/libc/stdio/mktemp.c
|
b05ec5ae933987e6b4a4f6a318cb13e035ad33e9 |
23-Sep-2014 |
Elliott Hughes <enh@google.com> |
Pull in upstream fixes to reject invalid bases. Also add tests to make sure the full set works correctly. Change-Id: I3e7f237f12c9c93e1185a97c9717803e7e55a73c
ib/libc/stdlib/strtoimax.c
ib/libc/stdlib/strtol.c
ib/libc/stdlib/strtoll.c
ib/libc/stdlib/strtoul.c
ib/libc/stdlib/strtoull.c
ib/libc/stdlib/strtoumax.c
|
8642165344217877b8a70811d19e09b584a0e10a |
23-Sep-2014 |
Elliott Hughes <enh@google.com> |
Merge "Sync with some upstream OpenBSD #include cleanup."
|
49eed7db79bd2664a2a13552ad81d445c93ba462 |
23-Sep-2014 |
Elliott Hughes <enh@google.com> |
Switch to OpenBSD insque/remque/killpg. Change-Id: Ie02290ad3187b1c1596dd776fd1c8a743a55f7ef
ib/libc/compat-43/killpg.c
ib/libc/stdlib/insque.c
ib/libc/stdlib/remque.c
|
08dc9d83a278e48b95e2bc72b592502f2d416826 |
23-Sep-2014 |
Elliott Hughes <enh@google.com> |
Sync with some upstream OpenBSD #include cleanup. Change-Id: Ibcd7adb19e9a6b9ad8c24d77e23935f19f56a144
ib/libc/gdtoa/ldtoa.c
ib/libc/net/htonl.c
ib/libc/net/htons.c
ib/libc/net/ntohl.c
ib/libc/net/ntohs.c
|
b6b5cb53895a2d5e94368f14a25ccfaf807eacad |
28-Aug-2014 |
Chih-Hung Hsieh <chh@google.com> |
Ignore all __weak_alias in OpenBSD libC. GCC assembler allows xyz to be redeclared as weak, by __weak_alias(xyz, _xyz), while _xyz is undefined. Clang does not like that but silently generates no code. It will reject its own .s file if the assembly code is saved first. Since we have no reason to define xyz or _xyz as weak symbol now, and _xyz is a macro to xyz, we simplify libC to have only xyz defined as global. BUG: 17186746 Change-Id: I24b154425838683cae69248cc750c59e26fd5467
ndroid/include/openbsd-compat.h
|
cc7e5f489f02ceee46e315af4f78559d3ad6c962 |
27-Aug-2014 |
Elliott Hughes <enh@google.com> |
Switch to OpenBSD <err.h> implementation. Change-Id: Ia950d88871a30f68e74f9ac7dbd87788e128e02f
ndroid/include/openbsd-compat.h
ib/libc/gen/err.c
ib/libc/gen/errx.c
ib/libc/gen/verr.c
ib/libc/gen/verrx.c
ib/libc/gen/vwarn.c
ib/libc/gen/vwarnx.c
ib/libc/gen/warn.c
ib/libc/gen/warnx.c
|
e5055179fd92ae243741d778426e1da03539165f |
27-Aug-2014 |
Elliott Hughes <enh@google.com> |
Switch to OpenBSD daemon(3). Change-Id: I1fd0be09fdb24aa6f1d945410eba5987f8a949b4
ib/libc/gen/daemon.c
|
7b87d441b0f2aa3ad5021ab6bd879a995a1bc2ce |
27-Aug-2014 |
Elliott Hughes <enh@google.com> |
Merge "Switch to OpenBSD res_random."
|
6b841db2baa24ffcf2a4e5f975d1d07f1699b918 |
21-Aug-2014 |
Elliott Hughes <enh@google.com> |
Add POSIX-2008 fmemopen, open_memstream, and open_wmemstream. Bug: 17164505 Change-Id: I59e28a08ff8b6ab632230b11a5807cfd5278aeb5
ib/libc/stdio/fmemopen.c
ib/libc/stdio/open_memstream.c
ib/libc/stdio/open_wmemstream.c
|
b81046202842427a7e894a6bcb357971332997b0 |
19-Aug-2014 |
Elliott Hughes <enh@google.com> |
Fix _BSD_SOURCE/__USE_BSD. Bug: 14659579 Change-Id: I80ec9584f054c02d1078828f6bca759c42bc1d4c
ndroid/include/openbsd-compat.h
|
3e424d0a241f8ae5194514dabc4ad899f5a5416d |
24-Jul-2014 |
Elliott Hughes <enh@google.com> |
Implement twalk(3), add unit tests. I've also added insque(3) and remque(3) (from NetBSD because the OpenBSD ones are currently broken for non-circular lists). I've not added the three hash table functions that should be in this header because they operate on a single global hash table and thus aren't likely to be useful. Bug: https://code.google.com/p/android/issues/detail?id=73719 Change-Id: I97397a7b921e2e860fd9c8032cafd9097380498a
ib/libc/stdlib/lsearch.c
ib/libc/stdlib/tfind.c
ib/libc/stdlib/tsearch.c
|
0f7d882bb7661f9601f3843b0e393b6155cd9571 |
22-Jul-2014 |
Elliott Hughes <enh@google.com> |
Switch to OpenBSD res_random. Change-Id: Ia971d647832893e9bb4601697132a105524d2f96
ib/libc/net/res_random.c
|
2b67d7dee09852789d9ac7d8972ed6cdb2c18430 |
19-Jul-2014 |
Elliott Hughes <enh@google.com> |
Use upstream OpenBSD's arc4random. The getentropy_linux.c is lightly modified to build on Android, but we're now completely in sync with upstream OpenBSD's arc4random implementation. Change-Id: If32229fc28aba908035fb38703190d41ddcabc95
ndroid/include/arc4random.h
ndroid/include/openbsd-compat.h
ib/libc/crypt/arc4random.c
ib/libc/crypt/arc4random_uniform.c
|
a167eef5482d4a89d4277ec74f57adbe38052813 |
14-Jul-2014 |
Elliott Hughes <enh@google.com> |
Fix visibility for a bunch more symbols. Bug: 11156955 Bug: 15291317 Change-Id: I664f25cce7c17085a101d6593d8e01525a1f6a90
ndroid/include/openbsd-compat.h
|
4ae938698c89e9e3c79008d9a833db726779accd |
14-Jul-2014 |
Elliott Hughes <enh@google.com> |
Merge "Sync upstream-openbsd."
|
4f0b67a8dbf0e1d8b1dae42358553fb8d14456d4 |
14-Jul-2014 |
Elliott Hughes <enh@google.com> |
Sync upstream-openbsd. Change-Id: I5b9961a57e2ff05f63bd218c130bf8347850b9be
ib/libc/stdlib/exit.c
ib/libc/string/stpcpy.c
ib/libc/string/strcat.c
ib/libc/string/strcmp.c
ib/libc/string/strcpy.c
ib/libc/string/strlen.c
ib/libc/string/strncmp.c
ib/libc/string/strncpy.c
|
53c3c271dc9927dd280981fc23409af60f460007 |
11-Jul-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Upstream atexit Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
ndroid/include/openbsd-compat.h
ndroid/include/thread_private.h
ib/libc/stdlib/atexit.c
ib/libc/stdlib/atexit.h
|
2d94ee29f4be528167f1de328226cac259aac738 |
07-Jul-2014 |
Dan Albert <danalbert@google.com> |
Merge "Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."""
|
65935979311373f2c7fa27cbfc189f49b188ca3a |
02-Jul-2014 |
Elliott Hughes <enh@google.com> |
Switch to upstream OpenBSD mktemp.c. Almost all of our stdio is actually OpenBSD, so although this isn't really a core part of stdio (it doesn't touch struct FILE, for example) it probably makes sense for it to come from the same upstream. My actual motivation though is that it's the only FreeBSD file we have compiler warnings from. This patch moves us over to -Werror by default, with only the DNS code having -Wno-error. Change-Id: Id244a5b445cba41b0a1ca30298ca7b1ed177810c
ib/libc/stdio/mktemp.c
|
f79ee064b64af54bce6d3931f4112761edb7d3a9 |
02-Jul-2014 |
Dan Albert <danalbert@google.com> |
Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."" This reverts commit 715242fd0f69e73a6aca19e32b8979fa0f384788. Change-Id: Ia9892fa3b03287129aa72a49974cef9fd94ae735
ndroid/include/openbsd-compat.h
|
0468feb28696751efcddada8de69a622afffdba8 |
21-Jun-2014 |
Elliott Hughes <enh@google.com> |
Sync to current upstream arc4random. This is actually revision 1.33, which is no longer the latest, but it's as close to head as we can currently reasonably get. I've also switched to the OpenBSD getentropy_linux.c implementation of getentropy, lightly modified to try to report an error on failure. Bug: 14499627 Change-Id: Ia7c561184b1f366c9bf66f248aa60f0d53535fcb
ib/libc/crypt/chacha_private.h
|
715242fd0f69e73a6aca19e32b8979fa0f384788 |
19-Jun-2014 |
Dan Albert <danalbert@google.com> |
Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64." This reverts commit dd4ad5c463c9bd479e8acf81227708717aafe204. Change-Id: If3c9771825e460ce68604082f4feb0ca783e56c6
ndroid/include/openbsd-compat.h
|
dd4ad5c463c9bd479e8acf81227708717aafe204 |
18-Jun-2014 |
Dan Albert <danalbert@google.com> |
Hide _tolower_tab_ and _toupper_tab_ on LP64. We can't hide them on LP32 because they appeared in NDK headers. Bug: 11156955 Change-Id: I22bf5a0f4d330c04b49565bc598cd0568128d4fc
ndroid/include/openbsd-compat.h
|
001f8f041bf21c53d4a0b919ef2c859b047bac0a |
04-Jun-2014 |
Dan Albert <danalbert@google.com> |
Removes wcswcs from bionic for LP64. Bug: 13935372 Change-Id: I0deb15e769da4fa81bb65a87f3c86db5163a5796
ib/libc/string/wcswcs.c
|
be8df2e7445968d503a59a0a15c9612a8fb991df |
04-Jun-2014 |
Elliott Hughes <enh@google.com> |
Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11. revision 1.11 date: 2014/06/04 07:45:25; author: stsp; state: Exp; lines: +1 -7; commitid: zJPRH5RUO224FmQu; Remove assigned but unused local variables and macro from vfwprintf(). Found by Elliott @ google ok mpi@ Change-Id: I716edc0c4d736a484a5317942de8e87bd8c6fd26
ib/libc/stdio/vfwprintf.c
|
b4e099c6f741835b11ecb6f8fd0861b1892ff182 |
30-May-2014 |
Elliott Hughes <enh@google.com> |
Remove issetugid. Bug: 14569474 Change-Id: I752c77ed53c724f144f0b618443eb95e87f2929a
ndroid/include/openbsd-compat.h
|
fcac8ff97f6b6cced6546e0096cadc1039b68b5e |
22-May-2014 |
Elliott Hughes <enh@google.com> |
Switch to POSIX dprintf/vdprintf. Bug: 11156955 Change-Id: I734bd02db514367ab119a48304aae9767958e367
ib/libc/stdio/dprintf.c
ib/libc/stdio/vdprintf.c
|
f51d3e87671110c508f0f71d9bcb1bf54c22ca3b |
20-May-2014 |
Elliott Hughes <enh@google.com> |
Switch back to OpenBSD inet_ntop now they're FORTIFY clean. Change-Id: I04798a4966c352a8a12feebdff9646e3bad5933f
ib/libc/net/inet_ntop.c
|
623b0d05bd924e7fa3c155492695123c87c3a2b1 |
15-May-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Register _cleanup function with atexit * Register cleanup function with atexit instead of calling it explicitly on exit() * abort() no longer calls _cleanup: Flushing stdio buffers on abort is no longer required by POSIX. * dlmalloc no longer need to reset cleanup (see above) * Upstream findfp.c makebuf.c setvbuf.cexit.c to openbsd versions. Bug: 14415367 Change-Id: I277058852485a9d3dbb13e5c232db5f9948d78ac
ib/libc/stdio/findfp.c
ib/libc/stdio/makebuf.c
ib/libc/stdio/setvbuf.c
ib/libc/stdlib/exit.c
|
6a41b0fb0e589c4afc4ecbcf7c425f0aa40eaea4 |
14-May-2014 |
Elliott Hughes <enh@google.com> |
Flesh out <arpa/inet.h>. Use the upstream OpenBSD implementations of these functions. Also ensure we have symbols for htonl, htons, ntohl, and ntohs. gtest doesn't like us using the macro versions in ASSERT_EQ. Bug: 14840760 Change-Id: I68720e9aca14838df457d2bb27b999d5818ac2b5
ib/libc/net/htonl.c
ib/libc/net/htons.c
ib/libc/net/inet_addr.c
ib/libc/net/inet_lnaof.c
ib/libc/net/inet_makeaddr.c
ib/libc/net/inet_netof.c
ib/libc/net/inet_network.c
ib/libc/net/inet_ntoa.c
ib/libc/net/inet_ntop.c
ib/libc/net/inet_pton.c
ib/libc/net/ntohl.c
ib/libc/net/ntohs.c
|
2716f3e8052a76fdfbe01501b88c29332175f119 |
06-May-2014 |
Elliott Hughes <enh@google.com> |
Sync with upstream OpenBSD wcsftime.c. They removed the code nobody wants rather than fix the ""/L"" mixup. Even better! Change-Id: Ib4333acf5e90d69586805a218d2894c5dffcb82f
ib/libc/time/wcsftime.c
|
9a5a3e8e74e2c6d7850ab29711189acf0f7378a2 |
06-May-2014 |
Elliott Hughes <enh@google.com> |
Fix <math.h> to quieten most of our warnings. I've reported the wcsftime bug upstream, but we really just want to use -D to ensure the buggy code isn't built. (I've also brought our strftime a bit closer to upstream now we have the right define.) I don't think upstream is likely to fix all their sign-compare and uninitialized warnings, so let's just silence them. As for libm, again upstream isn't likely to fix all their warnings, and silencing those made the ones that were our fault stand out. I've fixed our <math.h> to fix the warnings caused by our lack of definitions for the non-imprecise long-double functions. I checked the C99 standard, and all these functions are there. Change-Id: Iee8e1182c1db375058fb2c451eceb212bab47a37
ndroid/include/openbsd-compat.h
|
e0a36f49a94cd73209bb8b3be3b26ea3236c87ea |
05-May-2014 |
Elliott Hughes <enh@google.com> |
Sync with upstream OpenBSD. These trivial differences are are only current differences from upstream OpenBSD. Change-Id: Iddbee2c803911915a25e1da8b246e8403fa72daf
ib/libc/gen/fnmatch.c
ib/libc/gen/getprogname.c
ib/libc/gen/setprogname.c
ib/libc/string/strsep.c
|
ad534985ec3e01d37d46c50caa562f6482f48347 |
05-May-2014 |
Elliott Hughes <enh@google.com> |
Merge "Disable %n in printf and vfwprintf."
|
e2341d08fa4a4e0c22056c410fd34d3f93e06017 |
03-May-2014 |
Elliott Hughes <enh@google.com> |
Disable %n in printf and vfwprintf. Bug: 14492135 Change-Id: If190bede29e5f68a65043ddbe8e878c660933d03
ib/libc/stdio/vfprintf.c
ib/libc/stdio/vfwprintf.c
|
8ec21d9ded4c05744b3f9388bf824a508d7c95c2 |
05-May-2014 |
Elliott Hughes <enh@google.com> |
Merge "Switch to current upstream OpenBSD wsetup.c."
|
53b24382f5299931af5d08c933a765334a092c56 |
03-May-2014 |
Elliott Hughes <enh@google.com> |
Switch to current upstream OpenBSD wsetup.c. Change-Id: I2c1123f3e1d3c4af7fd7bf354e763934a39b78c0
ib/libc/stdio/wsetup.c
|
792ae72e41923800ba8797d87a76346cb2de14b9 |
03-May-2014 |
Elliott Hughes <enh@google.com> |
Switch to current upstream OpenBSD fwrite.c. Change-Id: Ife527aafc1e5438f477d711902efe6e6f59f3f8e
ib/libc/stdio/fvwrite.h
ib/libc/stdio/fwrite.c
|
f1ada79a83f6ac42f5efd995bf04374005ac532b |
03-May-2014 |
Elliott Hughes <enh@google.com> |
Sync with current OpenBSD stdio. We'd fallen a little behind. Bug: 14492135 Change-Id: Ic1137ef10bffccecebd5ce51086c23db006d0ea3
ib/libc/stdio/fgetln.c
ib/libc/stdio/fputws.c
ib/libc/stdio/fread.c
ib/libc/stdio/vfprintf.c
ib/libc/stdio/vfscanf.c
ib/libc/stdio/vfwprintf.c
ib/libc/stdio/vfwscanf.c
|
efaa461bd67cfdfcbc2b4c6b69805bc5b929ae05 |
03-May-2014 |
Elliott Hughes <enh@google.com> |
Use the OpenBSD wcsftime. Change-Id: I81929355d245ba1e58b4a464ca6cf45915e0238e
ib/libc/time/wcsftime.c
|
5a0aa3dee247a313f04252cf45608097695d5953 |
01-May-2014 |
Elliott Hughes <enh@google.com> |
Switch to a working UTF-8 mb/wc implementation. Although glibc gets by with an 8-byte mbstate_t, OpenBSD uses 12 bytes (of the 128 bytes it reserves!). We can actually implement UTF-8 encoding/decoding with a 0-byte mbstate_t which means we can make things work on LP32 too, as long as we accept the limitation that the caller needs to present us with a complete sequence before we'll process it. Our behavior is fine when going from characters to bytes; we just update the source wchar_t** to say how far through the input we got. I'll come back and use the 4 bytes we do have to cope with byte sequences split across multiple input buffers. The fact that we don't support UTF-8 sequences longer than 4 bytes plus the fact that the first byte of a UTF-8 sequence encodes the length means we shouldn't need the other fields OpenBSD used (at the cost of some recomputation in cases where a sequence is split across buffers). This patch also makes the minimal changes necessary to setlocale(3) to make us behave like glibc when an app requests UTF-8. (The difference being that our "C" locale is the same as our "C.UTF-8" locale.) Change-Id: Ied327a8c4643744b3611bf6bb005a9b389ba4c2f
ib/libc/locale/wctomb.c
|
94336d8ecf795cfdde874a1e15977d68cfc7afc1 |
30-Apr-2014 |
Elliott Hughes <enh@google.com> |
Switch to OpenBSD stdio wide printf functions. Change-Id: Icf4f8685d021ec6b7482ca1cc021ce8184098e4a
ib/libc/stdio/fwprintf.c
ib/libc/stdio/swprintf.c
ib/libc/stdio/vfwprintf.c
ib/libc/stdio/vswprintf.c
ib/libc/stdio/vwprintf.c
ib/libc/stdio/wprintf.c
|
c932225e1061dc57fc4bf2d6203d9737f4f989fa |
30-Apr-2014 |
Elliott Hughes <enh@google.com> |
Switch to OpenBSD stdio wide get/put functions. Change-Id: I71f8769cdea874e55d397ca7682d9d4e659d3dcb
ib/libc/stdio/fgetws.c
ib/libc/stdio/fputwc.c
ib/libc/stdio/fputws.c
ib/libc/stdio/fwide.c
ib/libc/stdio/getwc.c
ib/libc/stdio/getwchar.c
ib/libc/stdio/putwc.c
ib/libc/stdio/putwchar.c
|
01ae00f3170ad0e36c1657f6ff8c89dfa730fd37 |
30-Apr-2014 |
Elliott Hughes <enh@google.com> |
Switch to the OpenBSD implementations of the wide scanf functions. This also gets us the C99 wcstoimax and wcstoumax, and a working fgetwc and ungetwc, all of which are needed in the implementation. This also brings several other files closer to upstream. Change-Id: I23b025a8237a6dbb9aa50d2a96765ea729a85579
ib/libc/locale/wcstoimax.c
ib/libc/locale/wcstoumax.c
ib/libc/stdio/fgetwc.c
ib/libc/stdio/fwscanf.c
ib/libc/stdio/swscanf.c
ib/libc/stdio/ungetwc.c
ib/libc/stdio/vfwscanf.c
ib/libc/stdio/vswscanf.c
ib/libc/stdio/vwscanf.c
ib/libc/stdio/wscanf.c
|
3d7a0d9b08ecab054b2dff8332507644de3690b0 |
29-Apr-2014 |
Elliott Hughes <enh@google.com> |
Switch to the OpenBSD wcsto* functions. This replaces a partial set of non-functional functions with a complete set of functions, all of which actually work. This requires us to implement mbsnrtowcs and wcsnrtombs which completes the set of what we need for libc++. The mbsnrtowcs is basically a copy & paste of wcsnrtombs, but I'm going to go straight to looking at using the OpenBSD UTF-8 implementation rather than keep polishing our home-grown turd. (This patch also opportunistically switches us over to upstream btowc, mbrlen, and wctob, since they're all trivially expressed in terms of other functions.) Change-Id: I0f81443840de0f1aa73b96f0b51988976793a323
ib/libc/locale/_wcstod.h
ib/libc/locale/_wcstol.h
ib/libc/locale/_wcstoul.h
ib/libc/locale/btowc.c
ib/libc/locale/mbrlen.c
ib/libc/locale/mbstowcs.c
ib/libc/locale/wcstod.c
ib/libc/locale/wcstof.c
ib/libc/locale/wcstol.c
ib/libc/locale/wcstold.c
ib/libc/locale/wcstoll.c
ib/libc/locale/wcstombs.c
ib/libc/locale/wcstoul.c
ib/libc/locale/wcstoull.c
ib/libc/locale/wctob.c
ib/libc/locale/wctoint.h
|
0a5e26da1eae6b75a89695faf2e057c5c4717721 |
29-Apr-2014 |
Elliott Hughes <enh@google.com> |
Add mbtowc and fix mbrtowc. Change-Id: I48786cd82587e61188d40f6fd6e11ac05e857ae9
ib/libc/locale/mbtowc.c
|
d299bcfdad959a3a0adf1683605b15a1c3b3ab66 |
29-Apr-2014 |
Elliott Hughes <enh@google.com> |
Replace our broken wcswcs with the working upstream one. Change-Id: I2952684df5674d10f0564d92c2cd42597725c0e3
ib/libc/string/wcsstr.c
ib/libc/string/wcswcs.c
|
58d9e280d459225aa8dc4533e883182b08215f7d |
23-Apr-2014 |
Elliott Hughes <enh@google.com> |
Switch to the upstream OpenBSD getenv/putenv/setenv implementation. This fixes all the bugs found by the new tests. Change-Id: Id5a5f9f39a0620208bafa053f871a044725b4795
ib/libc/stdlib/getenv.c
ib/libc/stdlib/setenv.c
|
d39f3f2c2e7fc73ddb019695f0df3417deef5bf4 |
22-Apr-2014 |
Elliott Hughes <enh@google.com> |
Clean up and document our hacks for building BSD source. Change-Id: Ic591e22fa5b363bb68376b9f25814c0e5bd83fbf
EADME.txt
ndroid/gdtoa_support.cpp
ndroid/include/arith.h
ndroid/include/gd_qnan.h
ndroid/include/openbsd-compat.h
ndroid/include/thread_private.h
rith.h
d_qnan.h
dtoa_support.cpp
penbsd-compat.h
hread_private.h
|
2e003f43241bb76c56aad35d4074d4465e64a1ca |
21-Apr-2014 |
Elliott Hughes <enh@google.com> |
Remove unused #defines from "arith.h". These were defined in upstream's per-arch files, so I carried them across, but they aren't actually used anywhere. Change-Id: Ica9796201dcd2caa5c34070c0dd226fc2050ba47
rith.h
|
9d3c2dd11f5e796cd814cddc5b907494f859058e |
18-Apr-2014 |
Elliott Hughes <enh@google.com> |
Switch to upstream OpenBSD fread/fvwrite. Change-Id: I3dc11083693bc8d99edc0cbcc6f70dc9e5dc6565
ib/libc/stdio/fread.c
ib/libc/stdio/fvwrite.c
|
b88da06580a22d9a1ee5a1c573c49e89207bc71b |
18-Apr-2014 |
Elliott Hughes <enh@google.com> |
Merge "Upgrade to current vfprintf."
|
f3c73901cb5ca4de2651151cf2c65b31a729466e |
18-Apr-2014 |
Elliott Hughes <enh@google.com> |
Upgrade our <ctype.h> implementation to OpenBSD head. Adding the perfunctory <ctype.h> tests showed that we'd accidentally dropped several symbols. This puts everything back in its proper place and switches us to upstream head at the same time. Change-Id: Ib527ad280c9baded81e667fa598698526d93e66f
ib/libc/gen/ctype_.c
ib/libc/gen/isctype.c
ib/libc/include/ctype_private.h
penbsd-compat.h
|
0549371bd74ba7c7a5a16c2a7d6cc17dbe0e6f97 |
18-Apr-2014 |
Elliott Hughes <enh@google.com> |
Upgrade to current vfprintf. This gets us various bug fixes and missing C99 functionality. Bug: https://code.google.com/p/android/issues/detail?id=64886 Change-Id: Ie9f8ac569e9b5eec1e4a1faacfe2c21662eaf895
ib/libc/include/langinfo.h
ib/libc/stdio/floatio.h
ib/libc/stdio/vfprintf.c
|
4bd97cee28dd815fff54fc97560be60d566c1fa5 |
11-Apr-2014 |
Elliott Hughes <enh@google.com> |
Switch to gdtoa. This gives us a real strtold for LP64 and fixes various LP64 bugs. Bug: 13563801 Change-Id: I277858d718ee746e136b6b6308a495ba50dfa488
rith.h
d_qnan.h
dtoa_support.cpp
ib/libc/gdtoa/dmisc.c
ib/libc/gdtoa/dtoa.c
ib/libc/gdtoa/gdtoa.c
ib/libc/gdtoa/gdtoa.h
ib/libc/gdtoa/gdtoa_fltrnds.h
ib/libc/gdtoa/gdtoaimp.h
ib/libc/gdtoa/gethex.c
ib/libc/gdtoa/gmisc.c
ib/libc/gdtoa/hd_init.c
ib/libc/gdtoa/hdtoa.c
ib/libc/gdtoa/hexnan.c
ib/libc/gdtoa/ldtoa.c
ib/libc/gdtoa/misc.c
ib/libc/gdtoa/smisc.c
ib/libc/gdtoa/strtod.c
ib/libc/gdtoa/strtodg.c
ib/libc/gdtoa/strtof.c
ib/libc/gdtoa/strtorQ.c
ib/libc/gdtoa/strtord.c
ib/libc/gdtoa/sum.c
ib/libc/gdtoa/ulp.c
hread_private.h
|
5363a45f2b6d4eeb054710d0886bbadea8a15273 |
08-Apr-2014 |
Elliott Hughes <enh@google.com> |
Clean up localeconv(3). The OpenBSD doesn't support C99, and the extent to which we support locales is trivial, so just do it ourselves. Change-Id: If0a06e627ecc593f7b8ea3e9389365782e49b00e
ib/libc/locale/_def_messages.c
ib/libc/locale/_def_monetary.c
ib/libc/locale/_def_numeric.c
ib/libc/locale/_def_time.c
ib/libc/locale/localeconv.c
|
950a58e24d1019eb9d814dbb16f111a6b61e3f23 |
04-Apr-2014 |
Christopher Ferris <cferris@google.com> |
Add stpcpy/stpncpy. Add tests for the above. Add the fortify implementations of __stpcpy_chk and __stpncpy_chk. Modify the strncpy test to cover more cases and use this template for stpncpy. Add all of the fortify test cases. Bug: 13746695 Change-Id: I8c0f0d4991a878b8e8734fff12c8b73b07fdd344
ib/libc/string/stpcpy.c
ib/libc/string/stpncpy.c
|
50282f72bb9be6b49212a3978faec70786e9f97f |
25-Mar-2014 |
Pavel Chupin <pavel.v.chupin@intel.com> |
Add lconv declaration and localeconv(3) lconv is taken from ndk/sources/android/support/include/locale.h and matches bsd/glibc upstream. Keep old declaration for 32-bits for compatibility. localeconv.c and deps are taken from openbsd upstream. Changed strtod.c accordingly. Change-Id: I9fcc4d15f5674d192950d80edf26f36006cd31b4 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
ib/libc/locale/_def_messages.c
ib/libc/locale/_def_monetary.c
ib/libc/locale/_def_numeric.c
ib/libc/locale/_def_time.c
ib/libc/locale/localeconv.c
|
f2cea021ab2c6d7d7feeb40cca098aa132605876 |
13-Mar-2014 |
Elliott Hughes <enh@google.com> |
Clean up <stdio.h> macros. Also neuter __isthreaded. We should come back to try to hide struct FILE's internals for LP64. Bug: 3453512 Bug: 3453550 Change-Id: I7e115329fb4579246a72fea367b9fc8cb6055d18
ib/libc/stdio/putw.c
|
603332fc4c2d073f0e197f9ce4517710e9b3a6d0 |
13-Mar-2014 |
Elliott Hughes <enh@google.com> |
Upgrade to current upstream scanf implementation. Also add a basic test. Change-Id: Icc0e68a5716b9579244f6eb8bac1ab5a24eda85a
ib/libc/stdio/sscanf.c
ib/libc/stdio/vfscanf.c
ib/libc/stdio/vsscanf.c
|
ad41e9a4eb957ea318bbc93dd49dbe76b89df1e9 |
11-Mar-2014 |
Elliott Hughes <enh@google.com> |
More stdio cleanup. Change-Id: Idc909cd3dc7b072f1edd2ae4980932d6550e8568
ib/libc/stdio/asprintf.c
ib/libc/stdio/fprintf.c
ib/libc/stdio/freopen.c
penbsd-compat.h
|
cccfe1e17c47799deee67fa23f48d8c860390ac8 |
11-Mar-2014 |
Elliott Hughes <enh@google.com> |
Reimplement clock(3) and switch to OpenBSD time(3). The new implementation is a better approximation to the processor time used by the process because it's actually based on resource usage rather than just elapsed wall clock time. Change-Id: I9e13b69c1d3048cadf0eb9dec1e3ebc78225596a
ib/libc/gen/time.c
|
c8937eadf4a45afebe586dcea7a8ed882f3bec3b |
11-Mar-2014 |
Elliott Hughes <enh@google.com> |
Switch to OpenBSD wcscoll. Change-Id: I1050ef728e18124656e76f32b42ac9a4688f252d
ib/libc/locale/wcscoll.c
|
aedb00d04eb7f0b20b6abde702ba94a46577ca68 |
03-Mar-2014 |
Elliott Hughes <enh@google.com> |
Switch to upstream alarm(3). The only way the setitimer call can fail is if the unsigned number of seconds is too large to fit in the kernel's signed number of seconds. If you schedule a 68-year alarm, glibc will fail by returning 0 and BSD will fail by returning -1. Change-Id: Ic3721b01428f5402d99f31fd7f2ba2cc58805607
ib/libc/gen/alarm.c
|
692207eb457f9b4bf6cb4301d710d19b6e85c902 |
01-Mar-2014 |
Elliott Hughes <enh@google.com> |
Add getprogname/setprogname for BSD compatibility. This is one less change we have to make when porting BSD code. Bug: https://code.google.com/p/android/issues/detail?id=34898 Change-Id: If9b1a8d16996c7a19abcce8d3a456afc3e105a41
ib/libc/gen/getprogname.c
ib/libc/gen/setprogname.c
|
1e4378ea06d06f57027a97714f076ad4f417a705 |
26-Feb-2014 |
Elliott Hughes <enh@google.com> |
Switch to current OpenBSD system.c. Change-Id: Ie2df60f0d55dca69149ffe064f10183411407987
ib/libc/stdlib/system.c
|
53e43292aac91bf62995788cd5ca2ceb7caea283 |
25-Feb-2014 |
Elliott Hughes <enh@google.com> |
More OpenBSD cleanup (primarily string). This patch removes the string/ and wchar/ directories. Change-Id: Ia489904bc67047e4bc79acb1f3eec21aa3fe5f0d
ib/libc/locale/wcsxfrm.c
ib/libc/string/bcopy.c
ib/libc/string/strcat.c
ib/libc/string/strcmp.c
ib/libc/string/strcpy.c
ib/libc/string/strlcat.c
ib/libc/string/strlcpy.c
ib/libc/string/strlen.c
ib/libc/string/strncat.c
ib/libc/string/strncmp.c
ib/libc/string/strncpy.c
ib/libc/string/wcslcpy.c
ib/libc/string/wcswidth.c
|
0133944b09d1c0a35041f7a41eb6bfb660144f4f |
21-Feb-2014 |
Elliott Hughes <enh@google.com> |
Clean up our OpenBSD usage. Also undo some of the mess where we have OpenBSD <stdio.h> but a mix of different BSD's implementations. In this first pass, I've only moved easy OpenBSD stuff. Change-Id: Iae67b02cde6dba9d8d06fedeb53efbfdac0a8cf6
ib/libc/gen/charclass.h
ib/libc/gen/exec.c
ib/libc/gen/fnmatch.c
ib/libc/gen/ftok.c
ib/libc/gen/tolower_.c
ib/libc/gen/toupper_.c
ib/libc/stdio/clrerr.c
ib/libc/stdio/fdopen.c
ib/libc/stdio/feof.c
ib/libc/stdio/ferror.c
ib/libc/stdio/fflush.c
ib/libc/stdio/fgetc.c
ib/libc/stdio/fgetln.c
ib/libc/stdio/fgetpos.c
ib/libc/stdio/fgets.c
ib/libc/stdio/fileno.c
ib/libc/stdio/fpurge.c
ib/libc/stdio/fputc.c
ib/libc/stdio/fputs.c
ib/libc/stdio/fscanf.c
ib/libc/stdio/fseek.c
ib/libc/stdio/fsetpos.c
ib/libc/stdio/ftell.c
ib/libc/stdio/funopen.c
ib/libc/stdio/fwalk.c
ib/libc/stdio/getc.c
ib/libc/stdio/getchar.c
ib/libc/stdio/getdelim.c
ib/libc/stdio/getline.c
ib/libc/stdio/gets.c
ib/libc/stdio/perror.c
ib/libc/stdio/printf.c
ib/libc/stdio/putc.c
ib/libc/stdio/putchar.c
ib/libc/stdio/puts.c
ib/libc/stdio/refill.c
ib/libc/stdio/remove.c
ib/libc/stdio/rewind.c
ib/libc/stdio/rget.c
ib/libc/stdio/scanf.c
ib/libc/stdio/setbuf.c
ib/libc/stdio/setbuffer.c
ib/libc/stdio/stdio.c
ib/libc/stdio/tempnam.c
ib/libc/stdio/tmpnam.c
ib/libc/stdio/ungetc.c
ib/libc/stdio/vasprintf.c
ib/libc/stdio/vprintf.c
ib/libc/stdio/vscanf.c
ib/libc/stdio/vsnprintf.c
ib/libc/stdio/vsprintf.c
ib/libc/stdio/wbuf.c
ib/libc/stdlib/atoi.c
ib/libc/stdlib/atol.c
ib/libc/stdlib/atoll.c
ib/libc/stdlib/strtoimax.c
ib/libc/stdlib/strtol.c
ib/libc/stdlib/strtoll.c
ib/libc/stdlib/strtoul.c
ib/libc/stdlib/strtoull.c
ib/libc/stdlib/strtoumax.c
ib/libc/string/strcasecmp.c
ib/libc/string/strcspn.c
ib/libc/string/strdup.c
ib/libc/string/strndup.c
ib/libc/string/strpbrk.c
ib/libc/string/strsep.c
ib/libc/string/strspn.c
ib/libc/string/strstr.c
ib/libc/string/strtok.c
penbsd-compat.h
|