aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/rand.c
blob: 75d1d47007968e6155d1840addf80cf39a998144 (plain)
1
2
3
4
5
6
7
#include	<lib9.h>

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