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