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