rand man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

RAND(2)								       RAND(2)

NAME
       rand - pseudo random number generation

SYNOPSIS
       include "rand.m";
       rand = load Rand Rand->PATH;

       init:	fn(seed: int);
       rand:	fn(modulus: int): int;
       bigrand: fn(modulus: big): big;

DESCRIPTION
       Init  initialises  the pseudo-random number generator with seed; subseā€
       quent calls to rand and bigrand	return	a  pseudo-random  sequence  of
       integers or bigs respectively, between 0 and modulus-1.	Modulus should
       be a non-negative integer; for bigrand, it should be less than 2^53.

SOURCE
       /appl/lib/rand.b

SEE ALSO
       security-random(2)

BUGS
       The quality of the algorithm currently used is questionable.

								       RAND(2)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net