Re: rand is not ISO C compliant in Cygwin

Bruno Haible <[email protected]>
Newsgroups gmane.comp.lib.newlib,gmane.os.cygwin
Message-ID <4746602.Hd9D3QOfv1@nimes>
Corinna Vinschen wrote:
> The rand() function would still not use locking but AFAICS that's
> not actually required by POSIX or ISO C.

Correct. Those who want an MT-safe rand-like function need to use random(),
not rand().

Bruno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.