PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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(), PostmasterMain(), and setseed().

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