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