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