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