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