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