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