James Cloos wrote:
> >>>>> "WCAW" == W C A Wijngaards <[email protected]> writes:
> 
> WCAW> The line of interest is this one:
> WCAW> -               rr = random();
> 
> Cf random_r(3).
> 
> The (linux) page says that it is in the namespace
> iff _SVID_SOURCE || _BSD_SOURCE, so it should be OK
> essentially everywhere.

no, those are the feature test macro requirements.  read farther down:

    CONFORMING TO
           These functions are nonstandard glibc extensions.

random_r() isn't in POSIX, and it isn't available on, e.g., freebsd.

-- 
Robert Edmonds
[email protected]
_______________________________________________
Unbound-users mailing list
[email protected]
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

Reply via email to