Function getdate() from time.h

Austin Foxley austinf at cetoncorp.com
Mon Oct 5 00:14:37 UTC 2009


On 10/04/2009 04:38 PM, Jorge Miguel Pereira Coutada Miranda wrote:
> My question are:
>  * isthere is any plan to implement this function briefly?

No plans that I know of. Is there any reason you cannot use strptime? (Which
appears to provide similar functionality. In fact glibc's getdate is implemented
with strptime)

>  * If there isn't, is it possible to compile the getdate.c from the glibc library directly?

If someone were to work on a patch, that would be a good place to start. But no,
there isn't a way to directly pull it in.

>  * Is there any major problem so this function isn't implemented in uClibc?

The interface does seem kind of silly (relying on an external file to provide
your date formats...), but no. No problem other than no one has done the work yet.

-Austin


More information about the uClibc mailing list