> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Joakim Tjernlund > Sent: den 26 september 2008 09:14 > To: Steven Woody > Cc: uclibc@uclibc.org > Subject: Re: CLOCK_MONOTONIC substitution for uclibc? > > On Fri, 2008-09-26 at 13:30 +0800, Steven Woody wrote: > > Hi, > > > > I see even though uclibc implemented clock_gettime(clock_id, tp), it > > does not support clock type of CLOCK_MONOTONIC. So if I want some > > kind of monotonic time which should not changed by user process ( > > such as setting of date), what should I do? > > Use "ticks = times(NULL)", NULL can only be used on Linux. > > Jocke
We use CLOCK_MONOTONIC with uClibc without any problem... What version of uClibc are you using, and what architecture? //Peter _______________________________________________ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc