|
Message-ID: <20150316134156.GZ16260@port70.net> Date: Mon, 16 Mar 2015 14:41:56 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: libintl: stubs or working functions? * ???????? <lynx@...server.ru> [2015-03-16 11:18:46 +0700]: > I have this test program: > > % cat dt.c > #include <time.h> > #include <stdio.h> > > int main(void) > { > char x[32]; > struct tm *tm; > time_t t; > > t = time(NULL); > tm = localtime(&t); > strftime(x, sizeof(x), "%x", tm); > printf("%s\n", x); > > return 0; > } > i think you need to call setlocale(LC_ALL, "")
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.