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