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