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