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