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