randomint, randombuf - interface to random number device — Inferno 1ed
randomint, randombuf - interface to random number device
Description
The Random module provides a convenient interface to /dev/random, a part of the console driver.|
randomint()
|
Return a random integer value.
|
|
randombuf(buf,n)
|
Initialize array buf with n random bytes.
|
See Also
random (read-only) of cons - console device in Chapter 2
The /dev/random file is implemented as part of the console device.
infernosupport@lucent.com Copyright © 1996,Lucent Technologies, Inc. All rights reserved.