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