1: static  long    randx = 1;
   2: 
   3: srand(x)
   4: unsigned x;
   5: {
   6:     randx = x;
   7: }
   8: 
   9: rand()
  10: {
  11:     return(((randx = randx*1103515245 + 12345)>>16) & 077777);
  12: }

Defined functions

rand defined in line 9; used 9 times
srand defined in line 3; used 2 times

Defined variables

randx defined in line 1; used 3 times
  • in line 6-11(3)
Last modified: 1979-01-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 400
Valid CSS Valid XHTML 1.0 Strict