shithub: riscv

ref: 5030157da9e89da53739b13c36942a5355de669f
dir: /sys/src/libc/port/rand.c/

View raw version
#include	<u.h>
#include	<libc.h>

int
rand(void)
{
	return lrand() & 0x7fff;
}