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