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