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