Searched refs:srand (Results 1 – 25 of 68) sorted by relevance
123
21 srand(1138);24 srand(1138);34 srand(31337);37 srand(1138);47 srand();50 srand(42);
233 srand 12345;235 srand 12345;
53 srand(u_int seed) in srand() function57 __warn_references(srand, "srand is insecure; use the arc4random family API instead");
80 MLINKS+=rand.3 srand.3 rand.3 rand_r.3
14 srand($ARGV[0]);18 srand($seed);
13 srand($$^$^T);
60 srand($$^$^T);
62 srand($$^$^T);
83 #define srandom(s) srand(s)
167 void srand(unsigned);
36 srand(getpid()); /* initialize random sequence */
57 srand(getpid()); /* initialize random sequence */
3370 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
1309 #define seedDrand01(x) srand((Rand_seed_t)x) /**/
572 $seedfunc='srand'
109 srand 5 2
62 and arnold robbins, changed srand() to return the previous63 seed (which is 1 on the first call of srand). the seed is65 pass to the library srand(). thanks, everyone. 450 replaced srand argument by (unsigned int) in run.c;812 restored srand behavior: it returns the current seed.815 srand now returns previous seed value (0 to start).982 srand returns seed value it's using.
140 #define lynx_srand srand
190 srand(n) { seedDrand01((Rand_seed_t)n);
471 =item srand473 The default seed for C<srand>, which used to be C<time>, has been changed.477 Previous to version 5.004, calling C<rand> without first calling C<srand>480 C<srand>, it calls C<srand> with the default seed. You should still call481 C<srand> manually if your code might ever be run on a pre-5.004 system,
192 void (srand)(unsigned seed);