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