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