libs/libc/stdio/lib_vsprintf.c and Kconfig:

- Numbered arguments now work by using two pass parsing and an argument list.
    The maximum number of numbered args is determined by CONFIG_LIBC_NL_ARGMAX
    which is then copied into NL_ARGMAX.
  - Size of pointer argument ('p') is determined before output.

include/limits.h:  Define NL_ARGMAX (as well as some of the other 'invariant
  values' per http://pubs.opengroup.org/onlinepubs/7908799/xsh/limits.h.html)
This commit is contained in:
Johannes
2019-02-21 13:26:33 -06:00
committed by Gregory Nutt
parent 146c398eff
commit 0059a5a88e
3 changed files with 596 additions and 252 deletions
File diff suppressed because it is too large Load Diff