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