Header And Logo

PostgreSQL
| The world's most advanced open source database.

Functions

srandom.c File Reference

#include "c.h"
#include <math.h>
Include dependency graph for srandom.c:

Go to the source code of this file.

Functions

void srandom (unsigned int seed)

Function Documentation

void srandom ( unsigned int  seed  ) 

Definition at line 22 of file srandom.c.

References pg_srand48().

Referenced by BackendRun(), main(), PostmasterRandom(), and setseed().

{
    pg_srand48((long int) seed);
}