PostgreSQL Source Code  git master
srandom.c File Reference
#include "c.h"
#include <math.h>
Include dependency graph for srandom.c:

Go to the source code of this file.


void srandom (unsigned int seed)

Function Documentation

◆ srandom()

void srandom ( unsigned int  seed)

Definition at line 22 of file srandom.c.

References pg_srand48().

Referenced by choose_dsm_implementation(), InitProcessGlobals(), and update_spins_per_delay().

23 {
24  pg_srand48((long int) seed);
25 }
void pg_srand48(long seed)
Definition: erand48.c:131