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