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