This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC [PATCH] BZ#1077902: New API gettimezone


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]