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