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