From: Earnie B. <ear...@ya...> - 2001-05-22 20:04:28
|
John Brown wrote: > > For what it is worth, the free Borland C++ 5.5 defines it as: > > struct timeb { > long time; > short millitm; > short timezone; > short dstflag; > }; > PLEASE!!!! I can't emphasize enough, don't post directly from the .h files. I'll have to stop the posters who continue to do so. Find the documentation on the web and post the pointers. > i.e., the same as Mingw. > > Perhaps someone ought to answer the question. > I haven't come upon a definitive answer. Unsigned short and short are the same size so timeb will not have a problem. Millitm is 1 second represented in 1000ths. 999 is therefore the maximum millitm. Short on Win32 has a size of 2 bytes so SHORT_MAX == 32767. I don't see a problem with the current definition. -- Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |