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