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