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