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