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