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