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