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