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