mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-24 23:09:02 +00:00
The C Standard specifies that, when a conversion specification specifies a conversion specifier of n, the type of the passed pointer is specified by the length modifier (if any), i.e. that e.g. the argument for %hhn is of type signed char *, but Cosmopolitan currently does not handle this - instead always simply assuming that the pointer always points to an int. This patch implements, and tests, length modifiers with the n conversion specifier, with the tests testing all of the available length modifiers. |
||
---|---|---|
.. | ||
ctl | ||
dsp | ||
libc | ||
libcxx | ||
math | ||
net | ||
posix | ||
tool | ||
BUILD.mk |