ILE C/C++ Run-Time Library Functions

Pseudorandom Numbers


Function Header File Page Description
rand(), rand_r() stdlib.h "rand(), rand_r() -- Generate Random Number" Returns a pseudorandom integer. (rand_r() is the restartable version of rand().)
srand() stdlib.h "srand() -- Set Seed for rand() Function" Sets the starting point for pseudorandom numbers.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]