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