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