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