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