RFC [PATCH] BZ#1077902: New API gettimezone

P J P pj.pandit@yahoo.co.in
Sat Apr 5 04:17:00 GMT 2014


  Hi,

> On Saturday, 5 April 2014 12:52 AM, Carlos O'Donell wrote:
> I would think about extending tzalloc() to solve PJ's problem by
> reserving a "localtime" keyword to mean "give me the current zone info."

  IIUC, 'tzalloc' seems to take an input parameter which is zone specification similar to TZ variable. Or you mean 'tzalloc ("localtime")'? Or "localtime" to be a variable like the ones set by tzset(3) ??

> For example `char * tzget (const timezone_t tz);` where the string is usable with TZ.

  Cool! Let me know if I could help in any way.

Thank you.
---
Regards
   -Prasad
http://feedmug.com



More information about the Libc-help mailing list