postgresql/src/backend/port/srandom.c

14 lines
200 B
C
Raw Normal View History

/* $Id: srandom.c,v 1.9 1999/07/16 23:09:45 tgl Exp $ */
1999-02-07 23:07:02 +01:00
#include <stdlib.h>
1999-07-16 05:14:30 +02:00
#include <math.h>
#include <errno.h>
1999-02-07 23:07:02 +01:00
#include "config.h"
void
srandom(unsigned int seed)
{
srand48((long int) seed);
}