Fix xslt_process() to ensure that it inserts a NULL terminator after the
[PostgreSQL.git] / src / port / random.c
blob9684c51b3ab522b75d9c0ec0c68ff7706ede8887
1 /*-------------------------------------------------------------------------
3 * random.c
4 * random() wrapper
6 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
10 * IDENTIFICATION
11 * $PostgreSQL$
13 *-------------------------------------------------------------------------
16 #include "c.h"
18 #include <math.h>
21 long
22 random()
24 return lrand48();