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