Random number generator (device): Difference between revisions
Content deleted Content added
→{{header|C}}: The first example now makes fewer assumptions about the host environment (a uint32_t isn't required for this code to work). Additionally, this code compiles as C89 and returns EXIT_FAILURE instead of 1. |
No edit summary |
||
Line 491: | Line 491: | ||
<lang tcl>% puts [systemRandomInteger] |
<lang tcl>% puts [systemRandomInteger] |
||
636131349</lang> |
636131349</lang> |
||
=={{header|UNIX Shell}}== |
|||
<lang UNIX Shell>od -An -N 4 -t u4 /dev/urandom</lang> |
|||
=={{header|XPL0}}== |
=={{header|XPL0}}== |