shithub: riscv

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

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

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