shithub: riscv

ref: 3207e8b6a4339f39e2261d1f1878e8049b65c23c
dir: /sys/src/libc/port/rand.c/

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

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