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