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