shithub: riscv

ref: f341ae8c777dda2876beb4d4a1c67c4e920595ca
dir: /sys/src/libc/port/rand.c/

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

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