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