Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


srand()              General Function (libc)              srand()




Seed random number generator

void srand(seed) int seed;

srand uses seed  to initialize the sequence of pseudo-random num-
bers returned by  rand.  Different values of seed initialize dif-
ferent sequences.

***** Example *****

For an example of this function, see the entry for rand.

***** See Also *****

general functions, rand()
The Art of Computer Programming, vol. 2








































COHERENT Lexicon                                           Page 1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026