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