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