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