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