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