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