guRandom.3p
416 Bytes
.TH guRandom 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
guRandom, RAND \- generate a random 32 bit integer.
.SH SYNOPSIS
.nf
\f3#include <gu.h>
int guRandom(void)
RAND(max)
\fP
.fi
.SH DESCRIPTION
.B guRandom
returns an pseudo-random integer in the range of -2147483647 to 2147483647.
.PP
.B RAND(max)
returns a pseudo-random integer in the range of 0 to max. (This is a macro which calls
.B guRandom.
)