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