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