drawterm/libc/rand.c

9 lines
79 B
C

#include <u.h>
#include <libc.h>
int
rand(void)
{
return lrand() & 0x7fff;
}