BOOTSTRAP (klibm) functions
LIBRARY ROUTINE
krandom - generate random number in range [0,2**31-1]
LIBRARY CALL
long krandom(void)
INPUT
none
OUTPUT
none
RETURN VALUE
the pseudo random number generated.
DESCRIPTION
The krandom function generates a pseudo random
number with a value in the range [0,2**31-1].
The starting point of the pseudo random number sequence
is set by calling ksrandom.
krandom is not a POSIX function, but is
implemented in most BSD libraries.
If it is implemented for the current architecture
in libc.a, then this is simply a macro to random,
otherwise krandom is a macro to the Khoros
portable version of random.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/klibm/src/klibm.c
SEE ALSO
klibm(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.