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