shithub: riscv

ref: 775608db7c004aca265474adb3e081f676b3b12a
dir: /sys/src/libc/port/rand.c/

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

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