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