[Courses] using microsecond in C

Laurel Fan laurel at sdf.lonestar.org
Fri Oct 25 11:45:10 EST 2002


On Sun, Oct 20, 2002 at 10:47:00PM -0700, Abel Pires da Silva wrote:
> The code above is for time in SECOND, any idea how to
> change it into micro/mili second?

Try gettimeofday.

I found it by reading the manpage for the time() function (man 2
time), and looking in the SEE ALSO section.

-- 
laurel at sdf.lonestar.org
http://dreadnought.gorgorg.org



More information about the Courses mailing list