mirror of
https://github.com/postgres/postgres.git
synced 2025-11-16 15:02:33 +03: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);
|
|
}
|