This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Question] CLOCKS_PER_SEC value


On Aug 23 00:34, Joon Hee Lee wrote:
> Dear all,
> 
> POSIX standard defines CLOCKS_PER_SEC value is 1000000.

No, it doesn't.  Have a look into
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html:

  "[XSI] The value of CLOCKS_PER_SEC shall be 1 million on XSI-conformant
   systems."

Note that this is only required under the XSI conformance option.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]