shithub: riscv

ref: 0beecd8577e44f17c6c5e64bca2553cee0ddac9a
dir: /sys/src/libc/port/rand.c/

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

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