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