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