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