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