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