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