[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] idx: new printf/scanf length modifier macro
From: |
Bruno Haible |
Subject: |
Re: [PATCH] idx: new printf/scanf length modifier macro |
Date: |
Tue, 15 Jun 2021 02:55:57 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; ) |
> +/* A printf/scanf length modifier for idx_t. For example, if i is an idx_t,
> + printf ("i = %"pIDX"d\n", i) outputs i's value. */
> +#define pIDX "t"
Note that this modifier is not supported in internationalized format strings.
gettext() supports only the modifier names from <inttypes.h>. [1]
Bruno
[1] https://www.gnu.org/software/gettext/manual/html_node/Preparing-Strings.html