blob: 4b899c0fcd8ce9881e7baff303aae8e2f1d3e570 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/* vi: set sw=4 ts=4: */
2/*
3 * rand for uClibc
4 * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6 */
7
8#include <stdlib.h>
9
10
11int rand(void)
12{
13 return (int)random();
14}