X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 8 Aug 2005 07:32:05 -0400 Message-Id: <200508081132.j78BW5Js001136@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (Sterten@aol.com) Subject: Re: uclock() References: Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > I get negative results from uclock: > > printf("%i",uclock()); uclock() returns a long long. You are printing it as if it were an int. Try this: printf("%lld", uclock());