Replacement for snprintf

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Fri Nov 1 20:01:40 UTC 2019


On Friday, 1 November 2019 at 17:02:53 UTC, H. S. Teoh wrote:
> I think it has to do with the LC_* environment variables, at 
> least on a *nix system. You can set LC_ALL to get the same 
> settings across all categories, or you can separately set one 
> or more of the LC_* to get different settings in each category. 
> (Caveat: I've never actually done this myself before, so I 
> could be misunderstanding how it works.)

Yeah, POSIX, so POSIX-compliant C compilers should support it...

https://docs.oracle.com/cd/E19253-01/817-2521/overview-39/index.html

Other languages do not have to follow it, of course.



More information about the Digitalmars-d mailing list