aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/random.c
blob: 84b82936916e8d120b76611ba21363e09b685c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $Id: random.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */

#include <stdlib.h>
#include <math.h>				/* for pow() prototype */
#include <errno.h>

#include "config.h"
#include "rusagestub.h"

long
random()
{
	return lrand48();
}