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