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