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