cosmopolitan/test/libc
Gabriel Ravier c66abd7260
Implement length modifiers for printf %n conv spec (#1278)
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.
2024-09-06 19:34:24 -07:00
..
calls Delve into clock rabbit hole 2024-09-04 01:32:46 -07:00
fmt Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
intrin Make improvements 2024-09-01 01:27:47 -07:00
log Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
mem Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
nexgen32e Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
proc Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
runtime Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
sock Fix bugs in poll(), select(), ppoll(), and pselect() 2024-09-02 00:29:52 -07:00
stdio Implement length modifiers for printf %n conv spec (#1278) 2024-09-06 19:34:24 -07:00
str Make improvements 2024-09-01 01:27:47 -07:00
thread Introduce pthread_condattr_setclock() 2024-09-02 23:45:42 -07:00
time Update Musl Libc code 2024-07-30 22:51:29 -07:00
tinymath Release Cosmopolitan v3.8.0 2024-08-30 20:14:07 -07:00
x Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
xed Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
BUILD.mk Upgrade to 2022-era LLVM LIBCXX 2024-05-27 02:12:27 -07:00