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