ref: 0748e023cf5eb117f0fa8b68cc0a8c9602e17bba dir: /libc/rand.c/
#include <u.h> #include <libc.h> int rand(void) { return lrand() & 0x7fff; }