shithub: riscv

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

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

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