Recently, I’ve been asked to investigate the use of %0 formatter in printf which allows to have padding zeros before the number to display. For example,
printf(“%04d”, 34);
will display 0034.
The MUSL libc does not support this formatter yet.
Recently, I’ve been asked to investigate the use of %0 formatter in printf which allows to have padding zeros before the number to display. For example,
printf(“%04d”, 34);
will display 0034.
The MUSL libc does not support this formatter yet.