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