shithub: riscv

ref: 8820b3d9ea682635f35d5775bfa68831a5ad30ed
dir: /sys/src/libc/port/rand.c/

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

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