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