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