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