Created attachment 623 [details] Patch to add function declarations to core.stdc.time. Fairly simple. These functions aren't declared when std.c.time is imported. They are not implemented by MSVC, as of VS 2010 (I just looked at the headers, didn't run the compiler). Attached is a patch that adds them under a `version ( Posix )` block.
And justification for placing them under 'Posix': http://www.opengroup.org/onlinepubs/009695399/functions/localtime_r.html
They are in the core.sys.posix.time module. :) All POSIX extensions to standard C, as well as other POSIX headers, are in the core.sys.posix package.
I agree. The core.stdc package should only include Standard C declarations. Posix stuff should go in the posix package.