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