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