Single UNIX Spec <time.h> functions.
Kaz Kylheku
kaz@ashi.footprints.net
Wed Feb 16 14:46:00 GMT 2000
On 16 Feb 2000, Ulrich Drepper wrote:
> Date: 16 Feb 2000 14:29:19 -0800
> From: Ulrich Drepper <drepper@redhat.com>
> Reply-To: Ulrich Drepper <drepper@cygnus.com>
> To: Kaz Kylheku <kaz@ashi.footprints.net>
> Cc: libc-alpha Mailinglist <libc-alpha@sourceware.cygnus.com>,
Andreas Jaeger <aj@suse.de>
> Subject: Re: Single UNIX Spec <time.h> functions.
>
> Kaz Kylheku <kaz@ashi.footprints.net> writes:
>
> > While we are on the subject of struct timespec and nanosleep and all that,
> > how about implementing these functions:
>
> There are kernel patches floating around but none has been accepted yet.
I think you can do some of these things without kernel patches. Like
clock_gettime() can just be a wrapper for the gettimeofday() function
which converts the time from struct timeval to struct timespec. That's
what we do anyway whenever we need a timespec for a condition variable
wait. :)
More information about the Libc-alpha
mailing list