1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +03:00
postgres/src/port/srandom.c

14 lines
199 B
C

/* $Id: srandom.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
#include "c.h"
#include <stdlib.h>
#include <math.h>
#include <errno.h>
void
srandom(unsigned int seed)
{
srand48((long int) seed);
}