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