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