On Tuesday, 7 March 2017 at 20:15:56 UTC, Nick Sabalausky
(Abscissa) wrote:
On 03/07/2017 05:18 AM, Seb wrote:
[...]
Ooh, that's great to know! (Kinda sad that it seems necessary,
given the "unix filesystem and unix design" ideals, but oh
well, realities are realities.)
Is there a "proper" way to check for this function's existence
on a local machine, other than test-compiling, or is parsing
'uname -a' as "right way" as it gets?
And anyone know about OSX? Would OSX use the getentropy the
article you linked to mentions for OpenBSD? Or something else?
Or just fallback to /dev/(u)random?
This really deserves a Phobos PR, IMO, FWIW.
https://github.com/dlang/phobos/pull/5230