Add srandomdev() function (use "/dev/urandom" now)
Add srandomdev() function (use "/dev/urandom" now)

Submitted by: wollman & me (add type casts and remove unneded loop)

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase