tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: netbsd stdlib.h srandom and initstate declarations incorrect
In article
<CAJgzZoqGF6i_gHDWXYCBszcp=_L95BqiQ1bH6fmcW4Y36WL1zw%mail.gmail.com@localhost>,
enh <enh%google.com@localhost> wrote:
>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.
Fixed, thanks!
christos
Home |
Main Index |
Thread Index |
Old Index