mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-07-16 12:31:09 +02:00
14 lines
199 B
C
14 lines
199 B
C
/* $Id: srandom.c,v 1.10 2001/08/24 14:07:49 petere Exp $ */
|
|
|
|
#include "c.h"
|
|
|
|
#include <stdlib.h>
|
|
#include <math.h>
|
|
#include <errno.h>
|
|
|
|
void
|
|
srandom(unsigned int seed)
|
|
{
|
|
srand48((long int) seed);
|
|
}
|