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