in reply to rand and srand across builds and platforms?

It's probably a problem of running on a POSIX system or on ne not POSIX system!
  • Comment on Re: rand and srand across builds and platforms?

Replies are listed 'Best First'.
Re^2: rand and srand across builds and platforms?
by BrowserUk (Patriarch) on Mar 08, 2005 at 17:50 UTC

    Is OSX POSIX(-complient?)


    Examine what is said, not who speaks.
    Silence betokens consent.
    Love the truth but pardon error.

      OS X is basically Mach with a FreeBSD userland, so pretty much so yes.

        Which as you are getting different values from those on Linux builds scotches the "compatible across POSIX platforms" idea.


        Examine what is said, not who speaks.
        Silence betokens consent.
        Love the truth but pardon error.