[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: c-snprintf
From: |
Bruno Haible |
Subject: |
Re: Feature request: c-snprintf |
Date: |
Tue, 24 Mar 2009 13:38:22 +0100 |
User-agent: |
KMail/1.9.9 |
John Darrington wrote:
> In pspp, we've been using the c-ctype module. Would it also be
> possible to produce a snprintf function and friends which ignores
> locale settings and always formats strings in the C locale?
gnulib does not have this, but it has modules c-strtod and c-strtold
for conversion of numbers to strings in a locale independent way.
(The locale dependency of *printf is due to numbers and wide strings;
the latter are rarely used.)
Bruno