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