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