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