This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: RFC [PATCH] BZ#1077902: New API gettimezone
- From: P J P <pj dot pandit at yahoo dot co dot in>
- To: libc-help at sourceware dot org
- Date: Sat, 5 Apr 2014 12:14:16 +0800 (SGT)
- Subject: Re: RFC [PATCH] BZ#1077902: New API gettimezone
- Authentication-results: sourceware.org; auth=none
- References: <1396499286 dot 85118 dot YahooMailNeo at web192405 dot mail dot sg3 dot yahoo dot com> <533CF5E8 dot 9010009 at cs dot ucla dot edu> <1396518081 dot 53447 dot YahooMailNeo at web192403 dot mail dot sg3 dot yahoo dot com> <533D73DF dot 1040009 at cs dot ucla dot edu> <1396546236 dot 69027 dot YahooMailNeo at web192401 dot mail dot sg3 dot yahoo dot com> <20140403194040 dot GG26358 at brightrain dot aerifal dot cx> <533DD86D dot 10908 at redhat dot com> <533DE5CA dot 5040905 at cs dot ucla dot edu> <533E16A5 dot 5030701 at redhat dot com> <533E1AB7 dot 5090804 at cs dot ucla dot edu> <533E471F dot 9040101 at redhat dot com> <533E562C dot 3040109 at cs dot ucla dot edu> <533E5910 dot 4000008 at redhat dot com> <533E61AC dot 4070905 at cs dot ucla dot edu> <533F0668 dot 3020407 at redhat dot com>
- Reply-to: P J P <pj dot pandit at yahoo dot co dot in>
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