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