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