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