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