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