mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
15 lines
253 B
C
15 lines
253 B
C
/* $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);
|
|
}
|