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