Fix xslt_process() to ensure that it inserts a NULL terminator after the
[PostgreSQL.git] / src / port / srandom.c
blob092cc53041ebc5f2d386d5f5ddfe402cba1d1d19
1 /*-------------------------------------------------------------------------
3 * srandom.c
4 * srandom() 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 void
22 srandom(unsigned int seed)
24 srand48((long int) seed);