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