drawterm/libc/rand.c

9 lines
79 B
C
Raw Normal View History

2005-08-08 14:50:13 +02:00
#include <u.h>
#include <libc.h>
int
rand(void)
{
return lrand() & 0x7fff;
}