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