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