diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-12-23 15:01:07 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-12-23 15:02:50 +0100 |
commit | 9702a7901e18460e8ffc5f56a493d41294a8e936 (patch) | |
tree | 0e7147c9c7e3d4cb14d3474c9dd947dcf64b38a9 /misc/bug18240.c | |
parent | cd0c333d2ea82d0ae14719bdbef86d99615bdb00 (diff) | |
download | glibc-9702a7901e18460e8ffc5f56a493d41294a8e936.zip glibc-9702a7901e18460e8ffc5f56a493d41294a8e936.tar.gz glibc-9702a7901e18460e8ffc5f56a493d41294a8e936.tar.bz2 |
stdio: Implement %#m for vfprintf and related functions
%#m prints errno as an error constant if one is available, or
a decimal number as a fallback. This intends to address the gap
that strerrorname_np does not work well with printf for unknown
error codes due to its NULL return values in those cases.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'misc/bug18240.c')
0 files changed, 0 insertions, 0 deletions