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