sleepy (Oct 16, 2002 19:20):
I'm looking for a function wich can give me the current time from the os.
And I would know what kind of format will return this function.
Hello sleepy,
Do you happen to have the OS/2 ToolKit? If so, which version?
I just did a quick grep for 'gettime' in the 4.5 ToolKit, and came up with a couple of matches.
In sys/time.h it says that there is a timeval structure that is returned by a gettimeofday() OS call. It returns the current time in secs and nsecs.
Is this what you had in mind, or were you looking for something else?
HTH
Check out the pictures of my baby girl!
http://brennor.dyndns.org/Daphne