Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/lib/libxc/rand.c File Reference

Go to the source code of this file.


void srand (unsigned long x)
unsigned long rand (void)


static unsigned long randx = 1

Detailed Description

srand, rand

rand.c 221 2007-07-11 18:45:46Z mschul

Definition in file rand.c.

Function Documentation

unsigned long rand ( void   ) 

Generates a random long.

random long

Definition at line 24 of file rand.c.

References randx.

void srand ( unsigned long  x  ) 

Sets the random seed.

x random seed

Definition at line 15 of file rand.c.

References randx.

Variable Documentation

unsigned long randx = 1 [static]

Definition at line 9 of file rand.c.

Referenced by rand(), and srand().

Generated on Thu Oct 9 22:34:50 2008 for xinu by  doxygen 1.5.5