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