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