Question Details

No question body available.

Tags

c printf c23 length-modifiers

Answers (1)

Accepted Answer Available
Accepted Answer
March 26, 2026 Score: 2 Rep: 44,308 Quality: High Completeness: 70%

This question about support of the bit width modifiers in printf/scanf is more relevant to glibc. They are supported since glibc-2.38.

The compiler explorer has glibc-2.35 installed.

As for cygwin, I don't see any traces of bit width support for numerics.

I suggest using this in the current circumstances

fprintf(stdout, "w32i ileast32: " PRId32 "\n", (int32t)i_least32);