I am looking to read a few bytes from
/dev/random on OS X and Linux. The simplest approach fails on both operating systems (see below).
Why? What is a workaround?
In:= random = OpenRead["/dev/random"] During evaluation of In:= OpenRead::noopen: Cannot open /dev/random. >> Out= $Failed In:= BinaryRead["/dev/random", "Integer32"] During evaluation of In:= BinaryRead::nffil: File not found during BinaryRead[/dev/random,Integer32]. >> Out= $Failed