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