[uClibc] clock_gettime

Manuel Novoa III mjn3 at codepoet.org
Fri Nov 7 00:31:22 UTC 2003


Hello Justus,

On Thu, Nov 06, 2003 at 03:49:08PM -0700, Justus Pendleton wrote:
> On Tue, Nov 04, 2003 at 09:32:55PM -0700, Manuel Novoa III wrote:
> > I can add it.  Out of curiosity, what do you need it for?
> 
> Well, _I_ don't need it.  Since clearly it is easy enough to just use
> gettimeofday instead.  But other people on my project have sprinkled
> clock_gettime in their code.  Right now we're using glibc for our
> embedded product and that is hopefully going to be changing sometime
> in the next few months.  Convincing them that moving to uClibc is the
> right move (the current plan is to "strip down" glibc...) will be a
> much easier argument to win if I don't have to tell them it is missing
> functions they are using; all they'll hear is "missing functionality".

Understood.

> I don't know how to make cvs diff work on new files that haven't been
> cvs added to the repository, so I just included the full text of
> uClibc/libc/misc/time/clock_gettime.c ... the following patch is for
> the Makefile in that directory.

My name doesn't need to be on it.  Who wrote it?  And is it ok with
the for it to be LGPL?

Also, no patch necessary.  A file attachment would have been fine.

Manuel



More information about the uClibc mailing list