shithub: riscv

ref: 5b7d8e1f6fb4167e354545fef7e6dd6676986441
dir: /sys/src/libc/port/rand.c/

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

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