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