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