enh
2014-06-12 18:18:57 UTC
netbsd:
char *initstate(unsigned long, char *, size_t);
long random(void);
char *setstate(char *);
void srandom(unsigned long);
POSIX (http://pubs.opengroup.org/onlinepubs/9699919799/functions/initstate.html):
char *initstate(unsigned seed, char *state, size_t size);
long random(void);
char *setstate(char *state);
void srandom(unsigned seed);
(note that the netbsd definitions match the netbsd declarations.)
freebsd seems to have these wrong too. openbsd has the correct
declarations and definitions.
--elliott
char *initstate(unsigned long, char *, size_t);
long random(void);
char *setstate(char *);
void srandom(unsigned long);
POSIX (http://pubs.opengroup.org/onlinepubs/9699919799/functions/initstate.html):
char *initstate(unsigned seed, char *state, size_t size);
long random(void);
char *setstate(char *state);
void srandom(unsigned seed);
(note that the netbsd definitions match the netbsd declarations.)
freebsd seems to have these wrong too. openbsd has the correct
declarations and definitions.
--elliott