1 /*
2 * rand for uClibc
3 * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
4 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
5 */
6
7 #include <stdlib.h>
8
9
rand(void)10 int rand(void)
11 {
12 return (int)random();
13 }
14