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