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