shithub: riscv

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

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

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