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