On Tue, Aug 29, 2017 at 3:04 PM, Adrian Sampaleanu <nman...@gmail.com> wrote: > Hmm, yeah - they're rand() and srand(), respectively. Would've thought these > are standard names.
rand and srand are the names defined in the C89 ANSI standard. random and srandom were defined by POSIX.1-2001, based on earlier BSD functions with those names. Ian > On Tuesday, August 29, 2017 at 5:58:17 PM UTC-4, Ian Lance Taylor wrote: >> >> Is it possible that on the version of GCC you are using with MinGW >> that <stdlib.h> does not declare random and srandom? >> >> Ian > > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.