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