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