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