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