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