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