shithub: riscv

ref: 8cacd2cc0aa7bc7b51c0017edcd6a49db5b4f95e
dir: /sys/src/libc/port/rand.c/

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

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