ref: e4df0925260ce4f14ba6db4025d1ed4913b0f9ec dir: /libc/rand.c/
#include <u.h> #include <libc.h> int rand(void) { return lrand() & 0x7fff; }