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