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