summaryrefslogtreecommitdiff
path: root/src/stdio/__string_read.c
AgeCommit message (Collapse)AuthorLines
2012-11-08clean up stdio_impl.hRich Felker-0/+1
this header evolved to facilitate the extremely lazy practice of omitting explicit includes of the necessary headers in individual stdio source files; not only was this sloppy, but it also increased build time. now, stdio_impl.h is only including the headers it needs for its own use; any further headers needed by source files are included directly where needed.
2012-04-17avoid depending on POSIX symbol in code used from plain C functionsRich Felker-1/+3
2012-04-16new scanf implementation and corresponding integer parser/converterRich Felker-0/+13
advantages over the old code: - correct results for floating point (old code was bogus) - wide/regular scanf separated so scanf does not pull in wide code - well-defined behavior on integers that overflow dest type - support for %[a-b] ranges with %[ (impl-defined by widely used) - no intermediate conversion of fmt string to wide string - cleaner, easier to share code with strto* functions - better standards conformance for corner cases the old code remains in the source tree, as the wide versions of the scanf-family functions are still using it. it will be removed when no longer needed.