opnsense-src/lib/libc/tests/stdio
Dag-Erling Smørgrav 3c96ab9f1d libc: Implement N2680.
This adds specific width length modifiers in the form of wN and wfN (where N is 8, 16, 32, or 64) which allow printing intN_t and int_fastN_t without resorting to casts or PRI macros.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41725

(cherry picked from commit bce0bef3c6abab92c7ac8cc23b7cc632a382721e)

libc: Add test cases for N2680.

This adds test cases for %wN and %wfN to the printf(3) and scanf(3) tests.

While here, fix a few nits in the N2630 test cases.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D41743

(cherry picked from commit 12b1c1e3fb446021a881d9815465137843fca50b)

Approved by:	re (gjb)
2023-09-07 20:28:31 +00:00
..
eintr_test.c stdio: add test for 86a16ada1e: fflush() handling of errors 2022-01-28 01:09:47 +02:00
fdopen_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
fmemopen2_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
fopen_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
freopen_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
getdelim_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
gets_s_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
Makefile libc: Implement N2630. 2023-09-07 20:28:30 +00:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
mkostemp_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
open_memstream2_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
open_wmemstream_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
perror_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
print_positional_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
printbasic_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
printfloat_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
scanfloat_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
snprintf_test.c libc: Implement N2680. 2023-09-07 20:28:31 +00:00
sscanf_test.c libc: Implement N2680. 2023-09-07 20:28:31 +00:00
swprintf_test.c libc: Implement N2680. 2023-09-07 20:28:31 +00:00
swscanf_test.c libc: Implement N2680. 2023-09-07 20:28:31 +00:00