platform_bionic/docs
Elliott Hughes 1f462dec34 Add %b and %B support to the scanf/wscanf and strto*/wcsto* families.
Coming to C23 via WG14 N2630.

This one is a little interesting, because it actually changes existing
behavior. Previously "0b101" would be parsed as "0", "b", "101" by these
functions. I'm led to believe that glibc plans to actually have separate
versions of these functions for C23 and pre-C23, so callers can have the
behavior they (implicitly) specify by virtue of which -std= they compile
with. Android has never really done anything like that, and I'm pretty
sure app developers have more than enough to worry about with API levels
without having to deal with the cartesian product of API level and C
standard.

Therefore, my plan A is "if you're running on Android >= U, you get C23
behavior". My plan B in the (I think unlikely) event that that actually
causes trouble for anyone is "if you're _targeting_ Android >= U, you
get C23 behavior". I don't think we'd actually want to have two versions
of each of these functions under any circumstances --- that seems by far
the most confusing option.

Test: treehugger
Change-Id: I0bbb30315d3fabd306905ad1484361f5d8745935
2022-08-11 00:25:08 +00:00
..
img Publish the current draft of my ELF TLS doc 2018-11-09 15:24:16 -08:00
32-bit-abi.md Expand a little on the time_t situation. 2020-05-19 12:41:25 -07:00
clang_fortify_anatomy.md docs: add a clang_fortify_anatomy doc 2022-06-07 13:28:51 -07:00
defines.md Remove __ANDROID_NDK__ from bionic, and document our #defines. 2019-10-15 13:30:12 -07:00
EINTR.md Add some documentation about EINTR. 2021-12-13 10:16:57 -08:00
elf-tls.md Publish the current draft of my ELF TLS doc 2018-11-09 15:24:16 -08:00
fdsan.md Clarify that fdsan wasn't "enforcing" in its first release. 2021-12-10 01:42:31 +00:00
fdtrack.md Say which API level fdsan/fdtrack appeared at. 2021-04-16 13:57:52 -07:00
libc_assembler.md More cleanup for #inclusivefixit. 2020-07-31 10:35:03 -07:00
native_allocator.md Fix the adb command to push the memory trace files. 2021-04-09 15:11:49 -07:00
NOTICE Fix/update notices. 2021-02-16 15:06:50 -08:00
status.md Add %b and %B support to the scanf/wscanf and strto*/wcsto* families. 2022-08-11 00:25:08 +00:00