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