stdio-common: Add __translated_number_width
authorFlorian Weimer <fweimer@redhat.com>
Mon, 19 Dec 2022 17:56:54 +0000 (18:56 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 19 Dec 2022 17:56:54 +0000 (18:56 +0100)
commit46378560e056300623364669de2405a7182b064f
tree98bd283ccb2c61f13ce17751ea80afaefe881524
parentc7bf2e99cafbd8970f81c38d6f32842cc7846421
stdio-common: Add __translated_number_width

This function will be used to compute the width of a number
after i18n digit translation.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
include/printf.h
stdio-common/Makefile
stdio-common/translated_number_width.c [new file with mode: 0644]