summaryrefslogtreecommitdiff
path: root/libc/stdlib/rand.c
blob: 0117d890bf4a53d47ae1320b398ae57d209b033e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * rand for uClibc
 * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <stdlib.h>


int rand(void)
{
	return (int)random();
}