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