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