1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* $Id: srandom.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */ #include <stdlib.h> #include <math.h> /* for pow() prototype */ #include <errno.h> #include "config.h" #include "rusagestub.h" void srandom(unsigned int seed) { srand48((long int) seed); }