[PING^3] RFC [PATCH] BZ#1077902: New API gettimezone

Ondřej Bílka neleai@seznam.cz
Wed May 28 09:05:00 GMT 2014


On Tue, May 27, 2014 at 05:55:07PM -0700, Paul Eggert wrote:
> Ondřej Bílka wrote:
> >localtime_rz is preferable
> 
> I assume you meant NetBSD's localtime_rz?  It'd be reasonable to add
> that to glibc, or something like it (in glibc it may need a locale
> argument as well).  However, localtime_rz has quite a different API
> from what was in your email, so I didn't understand your suggestion.
> 
> http://netbsd.gw.com/cgi-bin/man-cgi?localtime_rz

No its same api. You just define timezone_t as char * so you do not have
to implement anything difficult.



More information about the Libc-alpha mailing list