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