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